Search for alter

  1. Search 7.x for alter
  2. Search 9.5.x for alter
  3. Search 8.9.x for alter
  4. Search 10.3.x for alter
  5. Other projects
Title Object type File name Summary
CommentHooks::nodeLinksAlter function core/modules/comment/src/Hook/CommentHooks.php Implements hook_node_links_alter().
CommentHooks::nodeViewAlter function core/modules/comment/src/Hook/CommentHooks.php Implements hook_ENTITY_TYPE_view_alter() for node entities.
CommentLinksAlterTest class core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Tests comment links altering.
CommentLinksAlterTest.php file core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
CommentLinksAlterTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php The theme to install as the default for testing.
CommentLinksAlterTest::$modules property core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Modules to install.
CommentLinksAlterTest::setUp function core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
CommentLinksAlterTest::testCommentLinksAlter function core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Tests comment links altering.
CommentSelection::entityQueryAlter function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Allows altering the SelectQuery generated by EntityFieldQuery.
CommentTestHooks::commentLinksAlter function core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php Implements hook_comment_links_alter().
CommentTestHooks::entityTypeAlter function core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php Implements hook_entity_type_alter().
CommentTranslationHandler::entityFormAlter function core/modules/comment/src/CommentTranslationHandler.php Performs the needed alterations to the entity form.
CommentViewBuilder::alterBuild function core/modules/comment/src/CommentViewBuilder.php Specific per-entity building.
CommentViewsHooks::viewsDataAlter function core/modules/comment/src/Hook/CommentViewsHooks.php Implements hook_views_data_alter().
comment_display_configurable_test_entity_base_field_info_alter function core/modules/comment/tests/modules/comment_display_configurable_test/comment_display_configurable_test.module Implements hook_entity_base_field_info_alter().
comment_test_comment_links_alter function core/modules/comment/tests/modules/comment_test/comment_test.module Implements hook_comment_links_alter().
comment_test_entity_type_alter function core/modules/comment/tests/modules/comment_test/comment_test.module Implements hook_entity_type_alter().
comment_views_data_alter function core/modules/comment/comment.views.inc Implements hook_views_data_alter().
CommonTestHooks::blockDrupalAlterFooAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_TYPE_alter().
CommonTestHooks::drupalAlterAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_TYPE_alter().
CommonTestHooks::jsAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_js_alter().
CommonTestHooks::jsSettingsAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_js_settings_alter().
CommonTestHooks::libraryInfoAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_library_info_alter().
CommonTestHooks::pageAttachmentsAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_page_attachments_alter().
ComponentPluginManager::alterDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Alters the plugin definition with computed properties.
ComponentPluginManager::alterDefinition function core/modules/sdc/src/ComponentPluginManager.php Alters the plugin definition with computed properties.
ComponentPluginManager::alterDefinitions function core/modules/sdc/src/ComponentPluginManager.php Invokes the hook to alter the definitions if the alter hook is set.
ComponentPluginManager::alterDefinitions function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Invokes the hook to alter the definitions if the alter hook is set.
ComponentRenderTest::checkRenderElementAlters function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the alter callbacks work properly.
ComponentRenderTest::checkRenderElementAlters function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures the alter callbacks work properly.
ConfigActionManager::alterDefinitions function core/lib/Drupal/Core/Config/Action/ConfigActionManager.php Invokes the hook to alter the definitions if the alter hook is set.
ConfigEntityQueryTest::testAlterHook function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php Test the entity query alter hooks are invoked.
ConfigEntityStaticCacheTestHooks::entityTypeAlter function core/modules/config/tests/config_entity_static_cache_test/src/Hook/ConfigEntityStaticCacheTestHooks.php Implements hook_entity_type_alter().
ConfigImportTestHooks::configImportStepsAlter function core/modules/config/tests/config_import_test/src/Hook/ConfigImportTestHooks.php Implements hook_config_import_steps_alter().
ConfigImportTestHooks::stepAlter function core/modules/config/tests/config_import_test/src/Hook/ConfigImportTestHooks.php Implements configuration synchronization step added by an alter for testing.
ConfigOverrideMessageTestHooks::formSystemSiteInformationSettingsAlter function core/modules/config/tests/config_override_message_test/src/Hook/ConfigOverrideMessageTestHooks.php Implements hook_form_FORM_ID_alter().
ConfigSchemaAlterException class core/lib/Drupal/Core/Config/Schema/ConfigSchemaAlterException.php Exception for when hook_config_schema_info_alter() adds or removes schema.
ConfigSchemaAlterException.php file core/lib/Drupal/Core/Config/Schema/ConfigSchemaAlterException.php
ConfigSchemaTest::testConfigSchemaInfoAlter function core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php Tests hook_config_schema_info_alter().
ConfigSchemaTestHooks::configSchemaInfoAlter function core/modules/config/tests/config_schema_test/src/Hook/ConfigSchemaTestHooks.php Implements hook_config_schema_info_alter().
ConfigTestHooks::entityQueryTagConfigQueryTestConfigEntityQueryAlterHookTestAlter function core/modules/config/tests/config_test/src/Hook/ConfigTestHooks.php Implements hook_entity_query_tag__ENTITY_TYPE__TAG_alter().
ConfigTestHooks::entityTypeAlter function core/modules/config/tests/config_test/src/Hook/ConfigTestHooks.php Implements hook_entity_type_alter().
ConfigTestRestHooks::entityTypeAlter function core/modules/rest/tests/modules/config_test_rest/src/Hook/ConfigTestRestHooks.php Implements hook_entity_type_alter().
ConfigTranslationFormTest::testConfigTranslationFormAlter function core/modules/config_translation/tests/src/Kernel/ConfigTranslationFormTest.php Tests altering of the configuration translation forms.
ConfigTranslationHooks::configSchemaInfoAlter function core/modules/config_translation/src/Hook/ConfigTranslationHooks.php Implements hook_config_schema_info_alter().
ConfigTranslationHooks::entityTypeAlter function core/modules/config_translation/src/Hook/ConfigTranslationHooks.php Implements hook_entity_type_alter().
ConfigTranslationTestHooks::configTranslationInfoAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_config_translation_info_alter().
ConfigTranslationTestHooks::entityTypeAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_entity_type_alter().
ConfigTranslationTestHooks::formConfigTranslationAddFormAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_form_FORM_ID_alter() for ConfigTranslationAddForm.
ConfigTranslationTestHooks::formConfigTranslationEditFormAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_form_FORM_ID_alter() for ConfigTranslationEditForm.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.