Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
migrate_removed_post_updates core/modules/migrate/migrate.post_update.php Implements hook_removed_post_updates().
migrate_update_last_removed core/modules/migrate/migrate.install Implements hook_update_last_removed().
module_config_sort core/includes/module.inc Sorts the configured list of enabled modules. 7
module_handler_test_added_helper core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.module Test function. 1
module_handler_test_all1_hook core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module Returns an array to test nested merge in invoke all. 1
module_handler_test_all2_hook core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module Test function. 1
module_handler_test_all2_order1 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module Hook implementation, without hook implements doxygen to avoid conversion.
module_handler_test_all2_order2 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module Hook implementation, without hook implements doxygen to avoid conversion.
module_handler_test_hook core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module 1
module_handler_test_hook_include core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/hook_include.inc Test hook. 1
module_handler_test_multiple_child_install core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple_child/module_handler_test_multiple_child.install Implements hook_install().
module_handler_test_multiple_install core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple.install Implements hook_install().
module_implements_alter_test_altered_test_hook core/modules/system/tests/modules/module_implements_alter_test/module_implements_alter_test.module Implements hook_altered_test_hook(). 1
module_implements_alter_test_legacy_module_implements_alter core/tests/Drupal/Tests/Core/Extension/modules/module_implements_alter_test_legacy/module_implements_alter_test_legacy.module Implements hook_module_implements_alter().
module_implements_alter_test_module_implements_alter core/modules/system/tests/modules/module_implements_alter_test/module_implements_alter_test.module Implements hook_module_implements_alter().
module_install_requirements_requirements core/modules/system/tests/modules/module_install_requirements/module_install_requirements.install Implements hook_requirements()
module_runtime_requirements_requirements core/modules/system/tests/modules/module_runtime_requirements/module_runtime_requirements.install Implements hook_requirements()
module_set_weight core/includes/module.inc Sets weight of a particular module. 10
module_test_install core/modules/system/tests/modules/module_test/module_test.install Implements hook_install().
module_test_load core/modules/system/tests/modules/module_test/module_test.module Load function used by module_test_hook_dynamic_loading_invoke_all_during_load().
module_test_post_update_test core/modules/system/tests/modules/module_test/module_test.post_update.php Test post update function. 2
module_test_procedural_preprocess_preprocess core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.module
module_test_procedural_preprocess_preprocess_test core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.module
module_test_schema core/modules/system/tests/modules/module_test/module_test.install Implements hook_schema().
module_update_requirements_requirements core/modules/system/tests/modules/module_update_requirements/module_update_requirements.install Implements hook_requirements()
navigation_install core/modules/navigation/navigation.install Implements hook_install().
navigation_removed_post_updates core/modules/navigation/navigation.post_update.php Implements hook_removed_post_updates().
navigation_update_last_removed core/modules/navigation/navigation.install Implements hook_update_last_removed().
new_dependency_test_update_8001 core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install Enable the new_dependency_test_with_service module.
node_access_grants

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('Drupal\node\NodeGrantsHelper')->nodeAccessGrants() instead.

core/modules/node/node.module Fetches an array of permission IDs granted to the given user ID.
node_access_needs_rebuild

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('\Drupal\node\NodeAccessRebuild')->setNeedsRebuild() and \Drupal::service('\Drupal\node\NodeAccessRebuild')->needsRebuild() instead.

core/modules/node/node.module Toggles or reads the value of a flag for rebuilding the node access grants.
node_access_rebuild

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('\Drupal\node\NodeAccessRebuild')->rebuild($batch_mode) instead.

core/modules/node/node.module Rebuilds the node access database.
node_get_type_label

in drupal:11.3.0 and is removed from drupal:13.0.0. Use $node->getBundleEntity()->label() instead.

core/modules/node/node.module Returns the node type label for the passed node.
node_install core/modules/node/node.install Implements hook_install().
node_is_page

in drupal:11.3.0 and is removed from drupal:13.0.0. There is no replacement, check the view mode instead during rendering.

core/modules/node/node.module Checks whether the current page is the full page view of the passed-in node.
node_mass_update

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\node\NodeBulkUpdate::class)->process() instead.

core/modules/node/node.admin.inc Updates all nodes in the passed-in array with the passed-in field values.
node_mass_update

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\node\NodeBulkUpdate::class)->process() instead.

core/modules/node/node.module Updates all nodes in the passed-in array with the passed-in field values.
node_removed_post_updates core/modules/node/node.post_update.php Implements hook_removed_post_updates().
node_schema core/modules/node/node.install Implements hook_schema().
node_type_get_names

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service('entity_type.bundle.info')->getBundleLabels('node') instead.

core/modules/node/node.module Returns a list of available node type names.
node_uninstall core/modules/node/node.install Implements hook_uninstall().
node_update_last_removed core/modules/node/node.install Implements hook_update_last_removed().
olivero_form_system_theme_settings_alter core/themes/olivero/theme-settings.php Implements hook_form_FORM_ID_alter() for system_theme_settings.
olivero_post_update_remove_shortcut_settings_if_not_installed core/themes/olivero/olivero.post_update.php Remove shortcut settings if shortcut module is not installed.
olivero_removed_post_updates core/themes/olivero/olivero.post_update.php Implements hook_removed_post_updates().
options_allowed_values core/modules/options/options.module Returns the array of allowed values for a list field. 6 3
package_manager_post_update_test core/modules/package_manager/tests/fixtures/post_update.php Here is a fake post-update hook.
package_manager_update_2147483647 core/modules/package_manager/tests/fixtures/db_update.php Here is a fake update hook.
path_alias_removed_post_updates core/modules/path_alias/path_alias.post_update.php Implements hook_removed_post_updates().
path_removed_post_updates core/modules/path/path.post_update.php Implements hook_removed_post_updates().

Other projects


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