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
»
bootstrap.inc
»
drupal_alter
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
73 calls to drupal_alter()
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.
batch_process
in drupal/
core/
includes/
form.inc
Processes the batch.
BlockRenderController::viewMultiple
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockRenderController.php
Implements
Drupal\Core\Entity\EntityRenderControllerInterface::viewMultiple
().
CKEditor::buildContentsCssJSSetting
in drupal/
core/
modules/
ckeditor/
lib/
Drupal/
ckeditor/
Plugin/
Editor/
CKEditor.php
Builds the "contentsCss" configuration part of the CKEditor JS settings.
contextual_pre_render_links
in drupal/
core/
modules/
contextual/
contextual.module
Pre-render callback: Builds a renderable array for contextual links.
DatabaseStorageController::getFieldDefinitions
in drupal/
core/
lib/
Drupal/
Core/
Entity/
DatabaseStorageController.php
Implements
\Drupal\Core\Entity\EntityStorageControllerInterface::getFieldDefinitions
().
DisplayOverview::buildForm
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
DisplayOverview.php
Implements
\Drupal\Core\Form\FormInterface::buildForm
().
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.
Editor::__construct
in drupal/
core/
modules/
editor/
lib/
Drupal/
editor/
Plugin/
Core/
Entity/
Editor.php
Overrides
Drupal\Core\Entity\Entity::__construct
()
EditorManager::getAttachments
in drupal/
core/
modules/
editor/
lib/
Drupal/
editor/
Plugin/
EditorManager.php
Retrieves text editor libraries and JavaScript settings.
element_info
in drupal/
core/
includes/
common.inc
Retrieves the default properties for the defined element type.
EntityRenderController::viewMultiple
in drupal/
core/
lib/
Drupal/
Core/
Entity/
EntityRenderController.php
Implements
\Drupal\Core\Entity\EntityRenderControllerInterface::viewMultiple
().
entity_get_bundles
in drupal/
core/
includes/
entity.inc
Returns the entity bundle info.
entity_get_view_modes
in drupal/
core/
includes/
entity.inc
Returns the entity view mode info.
Field::access
in drupal/
core/
lib/
Drupal/
Core/
Entity/
Field/
Type/
Field.php
Implements
\Drupal\Core\TypedData\AccessibleInterface::access
().
FieldInfo::getBundleExtraFields
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
FieldInfo.php
Retrieves the "extra fields" for a bundle.
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_language
in drupal/
core/
modules/
field/
field.multilingual.inc
Returns the display language code for the fields attached to the given entity.
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.
image_effect_definitions
in drupal/
core/
modules/
image/
image.module
Returns a set of image effects.
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.
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_router_build
in drupal/
core/
includes/
menu.inc
Collects and alters the menu definitions.
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.
path_get_admin_paths
in drupal/
core/
includes/
path.inc
Gets 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.
SelectionBase::reAlterQuery
in drupal/
core/
modules/
entity_reference/
lib/
Drupal/
entity_reference/
Plugin/
entity_reference/
selection/
SelectionBase.php
Helper method: Passes a query to the alteration system again.
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.
toolbar_pre_render
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.
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.
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.
_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.yml data.
_system_rebuild_theme_data
in drupal/
core/
modules/
system/
system.module
Helper function to scan and collect theme .info.yml 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
Builds the theme registry cache.
_theme_test_alter
in drupal/
core/
modules/
system/
tests/
modules/
theme_test/
theme_test.module
Page callback, calls
drupal_alter
().