Functions - 9.5.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings | 
|---|---|---|---|---|---|
| demo_umami_toolbar | core/ | Implements hook_toolbar(). | |||
| dependency_version_test_system_info_alter | core/ | Implements hook_system_info_alter(). | |||
| deprecated_module_test_system_info_alter | core/ | Implements hook_system_info_alter(). | |||
| 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 | |
| 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. | 1 | ||
| drupal_check_profile | core/ | Checks an installation profile's requirements. | 1 | ||
| drupal_common_theme | core/ | Provides theme registration for themes across .inc files. | 1 | ||
| drupal_current_script_url | core/ | Returns the URL of the current script, with modified query parameters. | 1 | ||
| drupal_detect_database_types | core/ | Detects all supported databases that are compiled into PHP. | 1 | ||
| drupal_error_levels | core/ | Maps PHP error constants to watchdog severity levels. | 1 | ||
| drupal_find_theme_functions | core/ | Allows themes and/or theme engines to discover overridden theme functions. | 2 | ||
| drupal_find_theme_templates | core/ | Allows themes and/or theme engines to easily discover overridden templates. | 4 | ||
| drupal_flush_all_caches | core/ | Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures. | 8 | 1 | |
| drupal_generate_test_ua | core/ | Generates a user agent string with a HMAC and timestamp for simpletest. | 9 | ||
| drupal_get_database_types | core/ | Returns all supported database driver installer objects. | 8 | ||
| drupal_get_filename | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Extension\ExtensionPathResolver::getPathname() instead. | core/ | Returns and optionally sets the filename for a system resource. | 2 | |
| drupal_get_filetransfer_info | core/ | Assembles the Drupal FileTransfer registry. | 2 | ||
| drupal_get_installed_schema_version | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::getInstalledVersion() or \Drupal\Core\Update\UpdateHookRegistry::getAllInstalledVersions() instead. | core/ | Returns the currently installed schema version for a module. | 1 | |
| drupal_get_module_schema | in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. Testing classes could use \Drupal\TestTools\Extension\SchemaInspector for introspection. | core/ | Returns a module's schema. | 3 | |
| drupal_get_path | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Extension\ExtensionPathResolver::getPath() instead. | core/ | Returns the path to a system item (module, theme, etc.). | 1 | |
| drupal_get_schema_versions | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\SchemaDataInterface::getAvailableUpdates() instead. | core/ | Returns an array of available schema versions for a module. | 1 | |
| drupal_get_updaters | core/ | Assembles the Drupal Updater registry. | 5 | ||
| 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. | 9 | 1 | |
| drupal_install_profile_distribution_version | core/ | Loads the installation profile, extracting its defined version. | 1 | ||
| drupal_install_schema | in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. | core/ | Creates all tables defined in a module's hook_schema(). | 1 | |
| drupal_install_system | core/ | Installs the system module. | 1 | ||
| drupal_js_defaults | in drupal:9.4.0 and is removed from drupal:10.0.0. No direct replacement is provided. | core/ | Constructs an array of the defaults that are used for JavaScript assets. | 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. | 7 | ||
| drupal_phpunit_contrib_extension_directory_roots | core/ | Returns directories under which contributed extensions may exist. | 2 | ||
| drupal_phpunit_find_extension_directories | core/ | Finds all valid extension directories recursively within a given directory. | 2 | ||
| 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. | 12 | 1 | |
| drupal_required_modules | in drupal:9.4.0 and is removed from drupal:10.0.0. There's no replacement. | core/ | Returns an array of modules required by core. | 1 | |
| drupal_requirements_severity | core/ | Extracts the highest severity from the requirements array. | 3 | ||
| drupal_requirements_url | core/ | Returns a URL for proceeding to the next page after a requirements problem. | 1 | ||
| drupal_rewrite_settings | core/ | Replaces values in settings.php with values in the submitted array. | 3 | ||
| drupal_set_installed_schema_version | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::setInstalledVersion() instead. | core/ | Updates the installed version information for a module. | 1 | |
| drupal_static | core/ | Provides central static variable storage. | 25 | ||
| drupal_static_reset | core/ | Resets one or all centrally stored static variable(s). | 25 | 1 | |
| drupal_theme_rebuild | core/ | Forces the system to rebuild the theme registry. | 7 | ||
| drupal_uninstall_schema | in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. | core/ | Removes all tables defined in a module's hook_schema(). | 1 | |
| drupal_valid_test_ua | core/ | Returns the test prefix if this is an internal request from SimpleTest. | 16 | 
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
