Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
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_procedural_preprocess_theme core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.module Implements hook_theme(). 1
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_access_view_all_nodes

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal::entityTypeManager()->getAccessControlHandler('node')->checkAllGrants() instead.

core/modules/node/node.module Determines whether the user has a global viewing grant for all nodes. 1 2
node_add_body_field

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/node/node.module Adds the default body field to a node type.
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_post_update_add_rebuild_permission_to_roles core/modules/node/node.post_update.php Grants a new permission for rebuilding node access permissions.
node_post_update_create_promote_base_field_overrides core/modules/node/node.post_update.php Creates base field override config for the promote base field on node types.
node_reindex_node_search

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('search.index')->markForReindex('node_search', $nid) instead.

core/modules/node/node.module Marks a node to be re-indexed by the node_search plugin.
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_title_list

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/node/node.module Gathers a listing of links to nodes.
node_type_get_description

in drupal:11.3.0 and is removed from drupal:12.0.0. Use $node_type->getDescription() instead.

core/modules/node/node.module Description callback: Returns the node type description.
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_element_info_alter core/themes/olivero/olivero.theme Implements hook_element_info_alter().
olivero_form_alter core/themes/olivero/olivero.theme Implements hook_form_alter() for adding classes and placeholder text to the search forms.
olivero_form_node_preview_form_select_alter core/themes/olivero/olivero.theme Implements hook_form_FORM_ID_alter() for node_preview_form_select.
olivero_form_system_theme_settings_alter core/themes/olivero/theme-settings.php Implements hook_form_FORM_ID_alter() for system_theme_settings.
olivero_form_views_exposed_form_alter core/themes/olivero/olivero.theme Implements hook_form_FORM_ID_alter() for views_exposed_form.
olivero_preprocess_block core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for block.
olivero_preprocess_checkboxes core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for checkboxes.
olivero_preprocess_comment core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for comment.
olivero_preprocess_field core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for field.
olivero_preprocess_fieldset core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for fieldset.
olivero_preprocess_field_multiple_value_form core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for field-multiple-value-form.
olivero_preprocess_field__comment core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for field--comment.

Other projects


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