Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
field_form_field_config_edit_form_entity_builder core/modules/field/field.module Entity form builder for field config edit form. 1
field_purge_batch core/modules/field/field.purge.inc Purges a batch of deleted Field API data, field storages, or fields. 13
field_purge_field core/modules/field/field.purge.inc Purges a field record from the database. 1
field_purge_field_storage core/modules/field/field.purge.inc Purges a field record from the database. 1
field_removed_post_updates core/modules/field/field.post_update.php Implements hook_removed_post_updates().
field_ui_form_manage_field_form_submit

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\field_ui\Hook\FieldUiHooks::manageFieldFormSubmit() instead.

core/modules/field_ui/field_ui.module Form submission handler for the 'Save and manage fields' button.
field_update_last_removed core/modules/field/field.install Implements hook_update_last_removed().
file_field_find_file_reference_column core/modules/file/file.module Determine whether a field references files stored in {file_managed}. 1
file_get_content_headers

in drupal:11.2.0 and is removed from drupal:12.0.0. Use Drupal\file\Entity\FileInterface::getDownloadHeaders() instead.

core/modules/file/file.module Examines a file entity and returns appropriate content headers for download.
file_get_file_references core/modules/file/file.module Retrieves a list of references to a file. 2
file_managed_file_save_upload core/modules/file/file.module Saves any files that have been uploaded into a managed_file element. 1
file_managed_file_submit

in drupal:11.3.0 and is removed from drupal:12.0.0. Use Drupal\file\Element\ManagedFile::submit() instead.

core/modules/file/file.module Form submission handler for upload / remove buttons of managed_file elements.
file_post_update_add_playsinline

in drupal:12.3.0 and is removed from drupal:13.0.0. This was rolled back due to a bug in the implementation and is now a no-op function and is kept only to prevent errors when updating.

core/modules/file/file.post_update.php Adds a value for the 'playsinline' setting of the 'file_video' formatter.
file_removed_post_updates core/modules/file/file.post_update.php Implements hook_removed_post_updates().
file_save_upload core/modules/file/file.module Saves file uploads to a new location. 3
file_schema core/modules/file/file.install Implements hook_schema().
file_system_settings_submit

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\file\Hook\FileHooks::settingsSubmit() instead.

core/modules/file/file.module Form submission handler for file system settings form.
file_update_last_removed core/modules/file/file.install Implements hook_update_last_removed().
filter_default_format core/modules/filter/filter.module Returns the ID of the default text format for a particular user. 24 1
filter_fallback_format core/modules/filter/filter.module Returns the ID of the fallback text format that all users have access to. 8 1
filter_formats core/modules/filter/filter.module Retrieves a list of enabled text formats, ordered by weight. 15 4
filter_formats_reset core/modules/filter/filter.module Resets the text format caches. 7
filter_get_formats_by_role core/modules/filter/filter.module Retrieves a list of text formats that are allowed for a given role. 1
filter_get_roles_by_format core/modules/filter/filter.module Retrieves a list of roles that are allowed to use a given text format. 7
filter_removed_post_updates core/modules/filter/filter.post_update.php Implements hook_removed_post_updates().
form_get_options core/includes/form.inc Returns the indexes of a select element's options matching a given key.
form_select_options core/includes/form.inc Converts the options in a select element into a structured array for output. 1
get_defined_functions core/tests/Drupal/Tests/Core/Theme/RegistryTest.php Overrides get_defined_functions() with a configurable mock.
help_removed_post_updates core/modules/help/help.post_update.php Implements hook_removed_post_updates().
help_schema core/modules/help/help.install Implements hook_schema().
help_update_last_removed core/modules/help/help.install Implements hook_update_last_removed().
hide core/includes/common.inc Hides an element from later rendering. 1 10
hold_test_install core/modules/system/tests/modules/hold_test/hold_test.install Implements hook_install().
hook_ajax_render_alter core/lib/Drupal/Core/Form/form.api.php Alter the Ajax command data that is sent to the client.
hook_batch_alter core/lib/Drupal/Core/Form/form.api.php Alter batch information before a batch is processed.
hook_block_access core/modules/block/block.api.php Control access to a block instance.
hook_block_alter core/modules/block/block.api.php Allow modules to alter the block plugin definitions.
hook_block_build_alter core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_build_BASE_BLOCK_ID_alter core/modules/block/block.api.php Provide a block plugin specific block_build alteration.
hook_block_view_alter core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_view_BASE_BLOCK_ID_alter core/modules/block/block.api.php Provide a block plugin specific block_view alteration.
hook_cache_flush core/core.api.php Flush all persistent and static caches. 1
hook_ckeditor5_plugin_info_alter core/modules/ckeditor5/ckeditor5.api.php Modify the list of available CKEditor 5 plugins.
hook_collector_on_behalf_cache_flush core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module This implements a hook but should not be picked up.
hook_collector_on_behalf_procedural_cache_flush core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module This implements a hook but should not be picked up.
hook_collector_skip_procedural_attribute_cache_flush core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module This implements a hook and should be picked up.
hook_collector_skip_procedural_cache_flush core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.module This implements a hook but should not be picked up.
hook_collector_skip_procedural_custom_function core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.module 1
hook_comment_links_alter core/modules/comment/comment.api.php Alter the links of a comment.
hook_condition_info_alter core/core.api.php Alter the information provided in ConditionManager::getDefinitions().

Other projects


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