Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| config_install_schema_test_schema | core/ |
Implements hook_schema(). | |||
| config_test_install | core/ |
Implements hook_install(). | |||
| contact_form_user_admin_settings_submit | in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contact\Hook\ContactFormHooks::userAdminSettingsSubmit instead. |
core/ |
Form submission handler for \Drupal\user\AccountSettingsForm. | ||
| contact_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| contact_storage_test_install | core/ |
Implements hook_install(). | |||
| contact_user_profile_form_submit | in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contact\Hook\ContactFormHooks::profileFormSubmit() instead. |
core/ |
Form submission handler for \Drupal\user\ProfileForm. | ||
| container_test_file_service_test_service_function | core/ |
Test function for container testing. | 1 | 1 | |
| content_moderation_post_update_add_index_content_moderation_state_field_revision_moderation_state | core/ |
Add moderation_state index to content_moderation_state tables. | |||
| content_moderation_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | 1 | ||
| content_moderation_test_resave_install | core/ |
Implements hook_install(). | |||
| content_moderation_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| content_translation_enable_widget | in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::getWidget() instead. |
core/ |
Returns a widget to enable content translation per entity bundle. | ||
| content_translation_install | core/ |
Implements hook_install(). | |||
| content_translation_language_configuration_element_process | in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::configElementProcess() instead. |
core/ |
Process callback: Expands the language_configuration form element. | ||
| content_translation_language_configuration_element_submit | in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::configElementSubmit() instead. |
core/ |
Form submission handler for element. | ||
| content_translation_language_configuration_element_validate | in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::configElementValidate() instead. |
core/ |
Form validation handler for the language_configuration form element. | ||
| content_translation_translate_access | in drupal:11.4.0 and is removed from drupal:13.0.0. Use the access() method of the content_translation.manager service instead. |
core/ |
Access callback for the translation overview page. | ||
| content_translation_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| contextual_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| database_test_schema | core/ |
Implements hook_schema(). | 1 | ||
| datetime_range_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| datetime_type_field_views_data_helper | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('datetime.views_helper') ->buildViewsData($field_storage, $data, $column_name); instead. |
core/ |
Provides Views integration for any datetime-based fields. | ||
| dblog_filters | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\dblog\DbLogFilters::class)->filters() instead. |
core/ |
Creates a list of database log administration filters that can be applied. | ||
| dblog_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| dblog_schema | core/ |
Implements hook_schema(). | |||
| dblog_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| ddd_hook_order_test_test_hook | core/ |
Implements hook_test_hook(). | 1 | ||
| demo_umami_content_install | core/ |
Implements hook_install(). | |||
| demo_umami_content_uninstall | core/ |
Implements hook_uninstall(). | |||
| demo_umami_install | core/ |
Implements hook_install(). | |||
| deprecation_test_deprecated_alter_alter | core/ |
Implements hook_deprecated_alter_alter(). | |||
| deprecation_test_deprecated_hook | core/ |
Implements hook_deprecated_hook(). | |||
| deprecation_test_function | in drupal:8.4.0 and is removed from drupal:9.0.0. This is the deprecation message for deprecated_test_function(). |
core/ |
A deprecated function. | 4 | |
| downgrade_prevention_test_update_11102 | core/ |
A hook_update_N that is equivalent update to 10400. | |||
| drupal_attach_tabledrag | core/ |
Assists in attaching the tableDrag JavaScript behavior to a themed table. | 3 | ||
| drupal_check_module | core/ |
Checks a module's requirements. | 3 | ||
| drupal_check_profile | core/ |
Checks an installation profile's requirements. | 1 | ||
| drupal_current_script_url | core/ |
Returns the URL of the current script, with modified query parameters. | 1 | ||
| drupal_error_levels | core/ |
Maps PHP error constants to watchdog severity levels. | 1 | ||
| drupal_find_theme_templates | core/ |
Allows themes and/or theme engines to easily discover overridden templates. | 6 | ||
| drupal_flush_all_caches | core/ |
Re-initializes the entire system. | 13 | 1 | |
| drupal_generate_test_ua | core/ |
Generates a user agent string with a HMAC and timestamp for tests. | 9 | ||
| drupal_install_fix_file | core/ |
Attempts to fix file permissions. | 1 | ||
| drupal_install_mkdir | core/ |
Creates a directory with the specified permissions. | 1 | ||
| drupal_install_profile_distribution_name | core/ |
Loads the installation profile, extracting its defined distribution name. | 8 | 1 | |
| drupal_install_profile_distribution_version | core/ |
Loads the installation profile, extracting its defined version. | 1 | ||
| drupal_install_system | core/ |
Installs the system module. | 1 | ||
| drupal_load_updates | core/ |
Loads .install files for installed modules to initialize the update system. | 3 | ||
| drupal_maintenance_theme | core/ |
Enables use of the theme system without requiring database access. | 6 | ||
| drupal_phpunit_contrib_extension_directory_roots | core/ |
Returns directories under which contributed extensions may exist. | 1 |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.