Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| drupal_static_reset | core/ |
Resets one or all centrally stored static variable(s). | 8 | 1 | |
| drupal_valid_test_ua | core/ |
Returns the test prefix if this is an internal request from a test. | 15 | ||
| drupal_verify_install_file | core/ |
Verifies the state of the specified file. | 5 | ||
| drupal_verify_profile | core/ |
Verifies that all dependencies are met for a given installation profile. | 2 | ||
| editor_filter_xss | in drupal:11.4.0 and is removed from drupal:13.0.0. Instead, use the method ::filterXss() from the element.editor service. |
core/ |
Applies text editor XSS filtering. | ||
| editor_image_upload_settings_form | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\editor\EditorImageUploadSettings::getForm() instead. |
core/ |
Subform constructor to configure the text editor's image upload settings. | ||
| editor_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| editor_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| entity_test_create_bundle | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\entity_test\EntityTestHelper::createBundle() instead. |
core/ |
Creates a new bundle for entity_test entities. | ||
| entity_test_delete_bundle | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\entity_test\EntityTestHelper::deleteBundle() instead. |
core/ |
Deletes a bundle for entity_test entities. | ||
| entity_test_install | core/ |
Implements hook_install(). | 4 | 2 | |
| entity_test_schema | core/ |
Implements hook_schema(). | |||
| entity_test_update_8001 | core/ |
Makes the 'user_id' field multiple and migrate its data. | |||
| entity_test_update_8001 | core/ |
Test update. | |||
| entity_test_update_8002 | core/ |
Test update. | |||
| entity_test_update_8002 | core/ |
Makes the 'user_id' field single and migrate its data. | |||
| error_displayable | core/ |
Determines whether an error should be displayed. | 4 | ||
| failed_22_update | core/ |
Simulates a hook_update_N functions. | |||
| field_form_field_config_edit_form_entity_builder | in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement. |
core/ |
Entity form builder for field config edit form. | ||
| field_post_update_clear_purge_batch_size | core/ |
Removes the purge_batch_size config. | |||
| field_purge_batch | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Field\FieldPurger::purgeBatch() instead. |
core/ |
Purges a batch of deleted Field API data, field storages, or fields. | ||
| field_purge_field | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Purges a field record from the database. | ||
| field_purge_field_storage | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Purges a field record from the database. | ||
| field_removed_post_updates | core/ |
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/ |
Form submission handler for the 'Save and manage fields' button. | ||
| field_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| file_field_find_file_reference_column | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Determine whether a field references files stored in {file_managed}. | 1 | |
| file_get_file_references | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\file\FileReferenceResolver::class) instead. |
core/ |
Retrieves a list of references to a file. | 2 | 1 |
| file_managed_file_save_upload | core/ |
Saves any files that have been uploaded into a managed_file element. | 1 | ||
| file_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| file_save_upload | core/ |
Saves file uploads to a new location. | 3 | ||
| file_schema | core/ |
Implements hook_schema(). | |||
| file_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| filter_default_format | in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatRepositoryInterface service with the ::getDefaultFormat() method instead. |
core/ |
Returns the ID of the default text format for a particular user. | 1 | |
| filter_fallback_format | in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatRepositoryInterface service with the ::getFallbackFormatId() method instead. |
core/ |
Returns the ID of the fallback text format that all users have access to. | 1 | |
| filter_formats | in drupal:11.4.0 and is removed from drupal:13.0.0. Use the Drupal\filter\FilterFormatRepositoryInterface service with the ::getAllFormats() method to get all formats, or with the ::getFormatsForAccount() method to get all formats that a user is able to access. |
core/ |
Retrieves a list of enabled text formats, ordered by weight. | 3 | |
| filter_formats_reset | in drupal:11.4.0 and is removed from drupal:13.0.0. Invalidate 'filter_formats' entity type list cache tags instead. |
core/ |
Resets the text format caches. | ||
| filter_get_formats_by_role | in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatRepositoryInterface service with the ::getFormatsByRole() method instead. |
core/ |
Retrieves a list of text formats that are allowed for a given role. | ||
| filter_get_roles_by_format | in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatInterface::getRoles() method instead. |
core/ |
Retrieves a list of roles that are allowed to use a given text format. | ||
| filter_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| form_get_options | core/ |
Returns the indexes of a select element's options matching a given key. | |||
| form_select_options | core/ |
Converts the options in a select element into a structured array for output. | 1 | ||
| get_defined_functions | core/ |
Overrides get_defined_functions() with a configurable mock. | |||
| help_post_update_search_help_dependencies | core/ |
Update config entity dependencies to the Search Help module, if necessary. | |||
| help_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| help_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| hide | in drupal:11.4.0 and is removed from drupal:13.0.0. To hide form elements, use ['#access'] = FALSE. For render elements, use ['#printed'] = TRUE. |
core/ |
Hides an element from later rendering. | 1 | 10 |
| hold_test_install | core/ |
Implements hook_install(). | |||
| hook_admin_content_form_ignore_form_ids | core/ |
Register form IDs that should not use the content form. | |||
| hook_admin_content_form_routes | core/ |
Register routes to apply admin’s content edit form layout. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.