Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
menu_ui_get_menu_link_defaults core/modules/menu_ui/menu_ui.module Returns the definition for a menu link for the given node. 2
menu_ui_node_builder core/modules/menu_ui/menu_ui.module Entity form builder to add the menu information to the node. 1
microtime core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow microtime system call.
migrate_drupal_post_update_migrate_drupal_uninstall core/modules/migrate_drupal/migrate_drupal.post_update.php Uninstall Migrate Drupal if installed.
migrate_drupal_ui_install core/modules/migrate_drupal_ui/migrate_drupal_ui.install Implements hook_install().
migrate_drupal_ui_post_update_migrate_drupal_ui_uninstall core/modules/migrate_drupal_ui/migrate_drupal_ui.post_update.php Uninstall Migrate Drupal UI if installed.
migrate_drupal_uninstall core/modules/migrate_drupal/migrate_drupal.install Implements hook_uninstall().
migrate_drupal_update_last_removed core/modules/migrate_drupal/migrate_drupal.install Implements hook_update_last_removed().
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_post_update_navigation_user_links_menu core/modules/navigation/navigation.post_update.php Creates the Navigation user links menu.
navigation_post_update_refresh_tempstore_repository core/modules/navigation/navigation.post_update.php Flushes tempstore repository for navigation to reflect definition changes.
navigation_post_update_set_logo_dimensions_default core/modules/navigation/navigation.post_update.php Defines the values for the default logo dimensions.
navigation_post_update_uninstall_navigation_top_bar core/modules/navigation/navigation.post_update.php Uninstall the navigation_top_bar module if installed.
navigation_post_update_update_permissions core/modules/navigation/navigation.post_update.php Grants navigation specific permission to roles with access to any layout.
navigation_update_11001 core/modules/navigation/navigation.install Reorganizes the values for the logo settings.
navigation_update_11002 core/modules/navigation/navigation.install Update for navigation logo to store the file path instead of ID.
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 core/modules/node/node.module Fetches an array of permission IDs granted to the given user ID. 5
node_access_needs_rebuild core/modules/node/node.module Toggles or reads the value of a flag for rebuilding the node access grants. 6
node_access_rebuild core/modules/node/node.module Rebuilds the node access database. 37
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.

Other projects


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