Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
path.inc
»
current_path
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
49 calls to current_path()
batch_process
in drupal/
core/
includes/
form.inc
Processes the batch.
BlockAccessController::checkAccess
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockAccessController.php
Performs access checks.
CommonTestController::lActiveClass
in drupal/
core/
modules/
system/
tests/
modules/
common_test/
lib/
Drupal/
common_test/
Controller/
CommonTestController.php
Returns links to the current page, with and without query strings.
CommonTestController::themeLinkActiveClass
in drupal/
core/
modules/
system/
tests/
modules/
common_test/
lib/
Drupal/
common_test/
Controller/
CommonTestController.php
Returns links to the current page, with and without query strings.
contact_mail
in drupal/
core/
modules/
contact/
contact.module
Implements
hook_mail
().
drupal_add_js
in drupal/
core/
includes/
common.inc
Adds a JavaScript file, setting, or inline code to the page.
drupal_get_destination
in drupal/
core/
includes/
common.inc
Prepares a 'destination' URL query parameter for use with
drupal_goto
().
drupal_is_front_page
in drupal/
core/
includes/
path.inc
Check if the current page is the front page.
drupal_validate_form
in drupal/
core/
includes/
form.inc
Validates user-submitted form data in the $form_state array.
ExposedFormPluginBase::resetForm
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
exposed_form/
ExposedFormPluginBase.php
hook_menu_get_item_alter
in drupal/
core/
modules/
system/
system.api.php
Alter a menu router item right after it has been retrieved from the database or cache.
InstallerTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
InstallerTest.php
Sets up a Drupal site for running functional and integration tests.
l
in drupal/
core/
includes/
common.inc
Formats an internal or external URL link as an HTML anchor tag.
LanguageBlock::build
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Plugin/
Block/
LanguageBlock.php
Builds and returns the renderable array for this block plugin.
LanguageTestController::lActiveClass
in drupal/
core/
modules/
language/
tests/
language_test/
lib/
Drupal/
language_test/
Controller/
LanguageTestController.php
Returns links to the current page with different langcodes.
LanguageTestController::themeLinkActiveClass
in drupal/
core/
modules/
language/
tests/
language_test/
lib/
Drupal/
language_test/
Controller/
LanguageTestController.php
Returns links to the current page with different langcodes.
menu_get_item
in drupal/
core/
includes/
menu.inc
Gets a router item.
menu_link_get_preferred
in drupal/
core/
includes/
menu.inc
Looks up the preferred menu link for a given system path.
menu_local_tasks
in drupal/
core/
includes/
menu.inc
Collects the local tasks (tabs), action links, and the root path.
menu_navigation_links
in drupal/
core/
includes/
menu.inc
Returns an array of links for a navigation menu.
menu_tree_output
in drupal/
core/
includes/
menu.inc
Returns a rendered menu tree.
overlay_drupal_goto_alter
in drupal/
core/
modules/
overlay/
overlay.module
Implements
hook_drupal_goto_alter
().
overlay_enable
in drupal/
core/
modules/
overlay/
overlay.install
Implements
hook_enable
().
rdf_preprocess_user
in drupal/
core/
modules/
rdf/
rdf.module
Implements
hook_preprocess_HOOK
() for user.tpl.php.
RegisterFormController::form
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
RegisterFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
shortcut_preprocess_page
in drupal/
core/
modules/
shortcut/
shortcut.module
Implements
hook_preprocess_HOOK
() for page.tpl.php.
shortcut_set_switch_submit
in drupal/
core/
modules/
shortcut/
shortcut.admin.inc
Submit handler for
shortcut_set_switch
().
system_page_build
in drupal/
core/
modules/
system/
system.module
Implements
hook_page_build
().
tablesort_header
in drupal/
core/
includes/
tablesort.inc
Formats a column header.
taxonomy_overview_terms
in drupal/
core/
modules/
taxonomy/
taxonomy.admin.inc
Form builder for the taxonomy terms overview.
template_preprocess_views_view
in drupal/
core/
modules/
views/
views.theme.inc
Prepares variables for view templates.
template_preprocess_views_view_summary
in drupal/
core/
modules/
views/
views.theme.inc
Prepares variables for views summary templates.
template_preprocess_views_view_summary_unformatted
in drupal/
core/
modules/
views/
views.theme.inc
Prepares variables for unformatted summary view templates.
template_preprocess_views_view_table
in drupal/
core/
modules/
views/
views.theme.inc
Prepares variables for views table templates.
TermFormController::form
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
TermFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
theme_links
in drupal/
core/
includes/
theme.inc
Returns HTML for a set of links.
theme_pager_link
in drupal/
core/
includes/
pager.inc
Returns HTML for a link to a specific query result page.
tour_preprocess_page
in drupal/
core/
modules/
tour/
tour.module
Implements
hook_preprocess_HOOK
() for page.tpl.php.
update_page_build
in drupal/
core/
modules/
update/
update.module
Implements
hook_page_build
().
update_project_storage
in drupal/
core/
modules/
update/
update.compare.inc
Retrieves update storage data or empties it.
UrlTest::testLinkCustomClass
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
UrlTest.php
Tests for custom class in links produced by
l
() and
theme_link
() functions.
url_alter_test_foo
in drupal/
core/
modules/
system/
tests/
modules/
url_alter_test/
url_alter_test.module
Menu callback.
UserLoginBlock::build
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Plugin/
Block/
UserLoginBlock.php
Builds and returns the renderable array for this block plugin.
user_menu_title
in drupal/
core/
modules/
user/
user.module
Menu item title callback for the 'user' path.
ViewEditFormController::submitDelayDestination
in drupal/
core/
modules/
views_ui/
lib/
Drupal/
views_ui/
ViewEditFormController.php
Submit handler for form buttons that do not complete a form workflow.
views_ajax_form_wrapper
in drupal/
core/
modules/
views/
includes/
ajax.inc
Wrapper around drupal_build_form to handle some AJAX stuff automatically. This makes some assumptions about the client.
ViewUI::renderPreview
in drupal/
core/
modules/
views_ui/
lib/
Drupal/
views_ui/
ViewUI.php
WebTestBase::setUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Sets up a Drupal site for running functional and integration tests.
_menu_site_is_offline
in drupal/
core/
includes/
menu.inc
Checks whether the site is in maintenance mode.