Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
module.inc
»
drupal_alter
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
93 calls to drupal_alter()
action_list
in drupal/
core/
modules/
action/
action.module
Discovers all available actions by invoking
hook_action_info
().
AjaxResponse::ajaxRender
in drupal/
core/
lib/
Drupal/
Core/
Ajax/
AjaxResponse.php
Prepares the AJAX commands for sending back to the client.
ajax_render
in drupal/
core/
includes/
ajax.inc
Renders a commands array into JSON.
AlterDecorator::getDefinitions
in drupal/
core/
lib/
Drupal/
Core/
Plugin/
Discovery/
AlterDecorator.php
Implements
Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions
().
AlterTest::testDrupalAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
AlterTest.php
Tests if the theme has been altered.
archiver_get_info
in drupal/
core/
includes/
common.inc
Retrieves a list of all available archivers.
batch_process
in drupal/
core/
includes/
form.inc
Processes the batch.
contextual_pre_render_links
in drupal/
core/
modules/
contextual/
contextual.module
Pre-render callback: Builds a renderable array for contextual links.
country_get_list
in drupal/
core/
modules/
system/
system.module
Get list of all predefined and custom countries.
DatabaseStorageController::getFieldDefinitions
in drupal/
core/
lib/
Drupal/
Core/
Entity/
DatabaseStorageController.php
Implements
Drupal\Core\Entity\EntityStorageControllerInterface::getFieldDefinitions
().
DisplayOverview::form
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
DisplayOverview.php
Overrides
Drupal\field_ui\OverviewBase::form
().
drupal_cron_run
in drupal/
core/
includes/
common.inc
Executes a cron run when called.
drupal_get_complete_schema
in drupal/
core/
includes/
schema.inc
Gets the whole database schema.
drupal_get_css
in drupal/
core/
includes/
common.inc
Returns a themed representation of all stylesheets to attach to the page.
drupal_get_filetransfer_info
in drupal/
core/
includes/
common.inc
Assembles the Drupal FileTransfer registry.
drupal_get_html_head
in drupal/
core/
includes/
common.inc
Retrieves output to be displayed in the HEAD tag of the HTML page.
drupal_get_js
in drupal/
core/
includes/
common.inc
Returns a themed presentation of all JavaScript code for the current page.
drupal_get_library
in drupal/
core/
includes/
common.inc
Retrieves information for a JavaScript/CSS library.
drupal_get_updaters
in drupal/
core/
includes/
common.inc
Assembles the Drupal Updater registry.
drupal_goto
in drupal/
core/
includes/
common.inc
Sends the user to a different Drupal page.
drupal_mail
in drupal/
core/
includes/
mail.inc
Composes and optionally sends an e-mail message.
drupal_prepare_form
in drupal/
core/
includes/
form.inc
Prepares a structured form array.
drupal_render_page
in drupal/
core/
includes/
common.inc
Renders the page, including all theming.
element_info
in drupal/
core/
includes/
common.inc
Retrieves the default properties for the defined element type.
EntityRenderController::buildContent
in drupal/
core/
lib/
Drupal/
Core/
Entity/
EntityRenderController.php
Implements
Drupal\Core\Entity\EntityRenderControllerInterface::buildContent
().
EntityRenderController::viewMultiple
in drupal/
core/
lib/
Drupal/
Core/
Entity/
EntityRenderController.php
Implements
Drupal\Core\Entity\EntityRenderControllerInterface::viewMultiple
().
FieldInfo::getBundleExtraFields
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
FieldInfo.php
Retrieves the "extra fields" for a bundle.
FieldInfo::prepareField
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
FieldInfo.php
Prepares a field definition for the current run-time context.
FieldInstance::getFormatter
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
FieldInstance.php
Returns a Formatter plugin for the instance.
FieldInstance::getWidget
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
FieldInstance.php
Returns the Widget plugin for the instance.
field_attach_prepare_translation
in drupal/
core/
modules/
field/
field.attach.inc
Prepares an entity for translation.
field_attach_preprocess
in drupal/
core/
modules/
field/
field.attach.inc
Populates the template variables with the available field values.
field_attach_view
in drupal/
core/
modules/
field/
field.attach.inc
Returns a renderable array for the fields on an entity.
field_available_languages
in drupal/
core/
modules/
field/
field.multilingual.inc
Collects the available language codes for the given entity type and field.
field_extra_fields_get_display
in drupal/
core/
modules/
field/
field.module
Returns the display settings to use for pseudo-fields in a given view mode.
field_language
in drupal/
core/
modules/
field/
field.multilingual.inc
Returns the display language code for the fields attached to the given entity.
field_views_data
in drupal/
core/
modules/
field/
field.views.inc
Implements
hook_views_data
().
field_view_field
in drupal/
core/
modules/
field/
field.module
Returns a renderable array for the value of a single field in an entity.
file_create_url
in drupal/
core/
includes/
file.inc
Creates a web-accessible URL for a stream to an external or local file.
file_file_download
in drupal/
core/
modules/
file/
file.module
Implements
hook_file_download
().
file_get_stream_wrappers
in drupal/
core/
includes/
file.inc
Provides Drupal stream wrapper registry.
file_mimetype_mapping
in drupal/
core/
includes/
file.mimetypes.inc
Return an array of MIME extension mappings.
filter_get_filters
in drupal/
core/
modules/
filter/
filter.module
Returns a list of all filters provided by modules.
HandlerBase::buildOptionsForm
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
HandlerBase.php
Build the options form.
image_effect_definitions
in drupal/
core/
modules/
image/
image.module
Pull in image effects exposed by modules implementing
hook_image_effect_info
().
language_fallback_get_candidates
in drupal/
core/
includes/
language.inc
Returns the possible fallback languages ordered by language weight.
language_negotiation_get_switch_links
in drupal/
core/
includes/
language.inc
Returns the language switch links for the given language type.
language_negotiation_info
in drupal/
core/
includes/
language.inc
Returns all defined language negotiation methods.
language_types_info
in drupal/
core/
includes/
language.inc
Returns information about all defined language types.
locale_translation_project_list
in drupal/
core/
modules/
locale/
locale.compare.inc
Fetch an array of projects for translation update.
MaintenanceModeSubscriber::onKernelRequestMaintenanceModeCheck
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
MaintenanceModeSubscriber.php
Response with the maintenance page when the site is offline.
menu_contextual_links
in drupal/
core/
includes/
menu.inc
Retrieves contextual links for a path based on registered local tasks.
menu_get_active_breadcrumb
in drupal/
core/
includes/
menu.inc
Gets the breadcrumb for the current page, as determined by the active trail.
menu_get_item
in drupal/
core/
includes/
menu.inc
Gets a router item.
menu_link_save
in drupal/
core/
includes/
menu.inc
Saves a menu link.
menu_local_tasks
in drupal/
core/
includes/
menu.inc
Collects the local tasks (tabs), action links, and the root path.
menu_router_build
in drupal/
core/
includes/
menu.inc
Collects and alters the menu definitions.
module_implements
in drupal/
core/
includes/
module.inc
Determines which modules are implementing a hook.
NodeAccessRecordsTest::testNodeAccessRecords
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeAccessRecordsTest.php
Creates a node and tests the creation of node access rules.
node_access_acquire_grants
in drupal/
core/
modules/
node/
node.module
Gets the list of node access grants and writes them to the database.
node_access_grants
in drupal/
core/
modules/
node/
node.module
Fetches an array of permission IDs granted to the given user ID.
openid_authentication_request
in drupal/
core/
modules/
openid/
openid.module
openid_discovery
in drupal/
core/
modules/
openid/
openid.module
Perform discovery on a claimed ID to determine the OpenID provider endpoint.
openid_normalize
in drupal/
core/
modules/
openid/
openid.inc
Normalize the given identifier.
path_get_admin_paths
in drupal/
core/
includes/
path.inc
Get a list of administrative and non-administrative paths.
PHPTransliteration::readLanguageOverrides
in drupal/
core/
lib/
Drupal/
Core/
Transliteration/
PHPTransliteration.php
Overrides
\Drupal\Component\Transliteration\PHPTransliteration::readLanguageOverrides
().
Select::preExecute
in drupal/
core/
lib/
Drupal/
Core/
Database/
Query/
Select.php
Generic preparation and validation for a SELECT query.
simpletest_test_get_all
in drupal/
core/
modules/
simpletest/
simpletest.module
Get a list of all of the tests provided by the system.
system_themes_page
in drupal/
core/
modules/
system/
system.admin.inc
Menu callback; displays a listing of all themes.
token_generate
in drupal/
core/
includes/
token.inc
Generates replacement values for a list of tokens.
token_info
in drupal/
core/
includes/
token.inc
Returns metadata describing supported tokens.
toolbar_view
in drupal/
core/
modules/
toolbar/
toolbar.module
Builds the Toolbar as a structured array ready for
drupal_render
().
update_calculate_project_data
in drupal/
core/
modules/
update/
update.compare.inc
Calculates the current update status of all projects on the site.
update_get_projects
in drupal/
core/
modules/
update/
update.compare.inc
Fetches an array of installed and enabled projects.
url
in drupal/
core/
includes/
common.inc
Generates an internal or external URL.
user_cancel_methods
in drupal/
core/
modules/
user/
user.pages.inc
Helper function to return available account cancellation methods.
user_format_name
in drupal/
core/
modules/
user/
user.module
Format a username.
ViewEditFormController::getDisplayTab
in drupal/
core/
modules/
views/
views_ui/
lib/
Drupal/
views_ui/
ViewEditFormController.php
Returns a renderable array representing the edit page for one display.
ViewEditFormController::renderDisplayTop
in drupal/
core/
modules/
views/
views_ui/
lib/
Drupal/
views_ui/
ViewEditFormController.php
Render the top of the display so it can be updated during ajax operations.
views_ajax
in drupal/
core/
modules/
views/
includes/
ajax.inc
Menu callback to load a view via AJAX.
ViewUI::renderPreview
in drupal/
core/
modules/
views/
views_ui/
lib/
Drupal/
views_ui/
ViewUI.php
WidgetBase::formSingleElement
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Plugin/
Type/
Widget/
WidgetBase.php
Generates the form element for a single copy of the widget.
xmlrpc_server
in drupal/
core/
modules/
xmlrpc/
xmlrpc.server.inc
Invokes XML-RPC methods on this server.
_block_get_renderable_block
in drupal/
core/
modules/
block/
block.module
Builds the content and subject for a block.
_block_load_blocks
in drupal/
core/
modules/
block/
block.module
Loads blocks' information from the database.
_block_rehash
in drupal/
core/
modules/
block/
block.module
Updates the 'block' DB table with the blocks currently exported by modules.
_field_info_collate_types
in drupal/
core/
modules/
field/
field.info.inc
Collates all information on field types, widget types and related structures.
_menu_link_translate
in drupal/
core/
includes/
menu.inc
Provides menu link access control, translation, and argument handling.
_system_rebuild_module_data
in drupal/
core/
modules/
system/
system.module
Helper function to scan and collect module .info data.
_system_rebuild_theme_data
in drupal/
core/
modules/
system/
system.module
Helper function to scan and collect theme .info data and their engines.
_template_preprocess_default_variables
in drupal/
core/
includes/
theme.inc
Returns hook-independent variables to
template_preprocess
().
_theme_build_registry
in drupal/
core/
includes/
theme.inc
Build the theme registry cache.
_theme_test_alter
in drupal/
core/
modules/
system/
tests/
modules/
theme_test/
theme_test.module
Page callback, calls
drupal_alter
().