Functions - 9.5.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
module_load_include

in drupal:9.4.0 and is removed from drupal:11.0.0. Use \Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL). Note that including code from uninstalled extensions is no longer supported.

core/includes/module.inc Loads a module include file. 1
module_load_install

in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Drupal::moduleHandler()->loadInclude($module, 'install') instead. Note, the replacement no longer allows including code from uninstalled modules.

core/includes/module.inc Loads a module's installation hooks. 2
module_required_test_system_info_alter core/modules/system/tests/modules/module_required_test/module_required_test.module Implements hook_system_info_alter().
module_set_weight core/includes/module.inc Sets weight of a particular module. 13
module_test_altered_test_hook core/modules/system/tests/modules/module_test/module_test.implementations.inc Implements hook_altered_test_hook(). 1
module_test_hook_info core/modules/system/tests/modules/module_test/module_test.module Implements hook_hook_info().
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_modules_installed core/modules/system/tests/modules/module_test/module_test.module Implements hook_modules_installed(). 1
module_test_modules_uninstalled core/modules/system/tests/modules/module_test/module_test.module Implements hook_modules_uninstalled().
module_test_module_implements_alter core/modules/system/tests/modules/module_test/module_test.module Implements hook_module_implements_alter().
module_test_post_update_test core/modules/system/tests/modules/module_test/module_test.post_update.php Test post update function. 2
module_test_schema core/modules/system/tests/modules/module_test/module_test.install Implements hook_schema().
module_test_system_info_alter core/modules/system/tests/modules/module_test/module_test.module Implements hook_system_info_alter().
module_test_test_hook core/modules/system/tests/modules/module_test/module_test.file.inc Implements hook_test_hook().
more_help_page_test_help core/modules/help/tests/modules/more_help_page_test/more_help_page_test.module Implements hook_help().
more_help_page_test_help_section_info_alter core/modules/help/tests/modules/more_help_page_test/more_help_page_test.module Implements hook_help_section_info_alter().
mysql_help core/modules/mysql/mysql.module Implements hook_help().
mysql_requirements core/modules/mysql/mysql.install Implements hook_requirements().
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. 5
node_access_rebuild core/modules/node/node.module Rebuilds the node access database. 32
node_access_test_add_field core/modules/node/tests/modules/node_access_test/node_access_test.module Adds the private field to a node type. 13
node_access_test_empty_node_access_records core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module Implements hook_node_access_records().
node_access_test_empty_node_grants core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module Implements hook_node_grants().
node_access_test_language_node_access_records core/modules/node/tests/modules/node_access_test_language/node_access_test_language.module Implements hook_node_access_records().
node_access_test_language_node_grants core/modules/node/tests/modules/node_access_test_language/node_access_test_language.module Implements hook_node_grants().
node_access_test_node_access core/modules/node/tests/modules/node_access_test/node_access_test.module Implements hook_node_access().
node_access_test_node_access_records core/modules/node/tests/modules/node_access_test/node_access_test.module Implements hook_node_access_records().
node_access_test_node_grants core/modules/node/tests/modules/node_access_test/node_access_test.module Implements hook_node_grants().
node_access_view_all_nodes core/modules/node/node.module Determines whether the user has a global viewing grant for all nodes. 2 2
node_add_body_field core/modules/node/node.module Adds the default body field to a node type. 13
node_comment_delete core/modules/node/node.module Implements hook_ENTITY_TYPE_delete() for comment entities.
node_comment_insert core/modules/node/node.module Implements hook_ENTITY_TYPE_insert() for comment entities.
node_comment_update core/modules/node/node.module Implements hook_ENTITY_TYPE_update() for comment entities.
node_configurable_language_delete core/modules/node/node.module Implements hook_ENTITY_TYPE_delete() for 'configurable_language'.
node_config_translation_info_alter core/modules/node/node.module Implements hook_config_translation_info_alter().
node_cron core/modules/node/node.module Implements hook_cron().
node_display_configurable_test_entity_base_field_info_alter core/modules/rdf/tests/node_display_configurable_test/node_display_configurable_test.module Implements hook_entity_base_field_info_alter().
node_display_configurable_test_entity_type_build core/modules/rdf/tests/node_display_configurable_test/node_display_configurable_test.module Implements hook_entity_type_build().
node_entity_extra_field_info core/modules/node/node.module Implements hook_entity_extra_field_info().
node_entity_view_display_alter core/modules/node/node.module Implements hook_entity_view_display_alter().
node_form_system_themes_admin_form_alter core/modules/node/node.module Implements hook_form_FORM_ID_alter().
node_form_system_themes_admin_form_submit core/modules/node/node.module Form submission handler for system_themes_admin_form(). 1
node_get_recent core/modules/node/node.module Finds the most recently changed nodes that are available to the current user.
node_get_type_label core/modules/node/node.module Returns the node type label for the passed node. 10
node_help core/modules/node/node.module Implements hook_help().
node_install core/modules/node/node.install Implements hook_install().
node_is_page core/modules/node/node.module Checks whether the current page is the full page view of the passed-in node. 3

Other projects


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