Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| 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_common_theme | in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Theme\ThemeCommonElements::commonElements() instead, |
core/ |
Provides theme registration for themes across .inc files. | ||
| 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. | 12 | 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 | ||
| drupal_phpunit_find_extension_directories | core/ |
Finds all valid extension directories recursively within a given directory. | 1 | ||
| drupal_phpunit_get_extension_namespaces | core/ |
Registers the namespace for each extension directory with the autoloader. | 1 | ||
| drupal_phpunit_populate_class_loader | core/ |
Populate class loader with additional namespaces for tests. | 1 | ||
| drupal_rebuild | core/ |
Rebuilds all caches even when Drupal itself does not work. | 1 | ||
| drupal_register_shutdown_function | core/ |
Registers a function for execution on shutdown. | 14 | 2 | |
| drupal_requirements_severity | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::getMaxSeverity() instead. |
core/ |
Extracts the highest severity from the requirements array. | 1 | |
| drupal_requirements_url | core/ |
Returns a URL for proceeding to the next page after a requirements problem. | 1 | ||
| drupal_static | core/ |
Provides central static variable storage. | 14 | ||
| drupal_static_reset | core/ |
Resets one or all centrally stored static variable(s). | 16 | 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 | core/ |
Applies text editor XSS filtering. | 2 | ||
| editor_form_filter_admin_format_editor_configure | core/ |
Button submit handler for filter_format_form()'s 'editor_configure' button. | 2 | ||
| editor_form_filter_admin_format_submit | core/ |
Additional submit handler for filter_format_form(). | 1 | ||
| editor_form_filter_admin_format_validate | core/ |
Additional validate handler for filter_format_form(). | 1 | ||
| editor_form_filter_admin_form_ajax | core/ |
AJAX callback handler for filter_format_form(). | 1 | ||
| editor_image_upload_settings_form | core/ |
Subform constructor to configure the text editor's image upload settings. | 2 | ||
| editor_load | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::entityTypeManager()->getStorage('editor')->load($format_id) instead. |
core/ |
Loads an individual configured text editor based on text format ID. | ||
| 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. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.