Code registry
The code registry engine.
Drupal maintains an internal registry of all interfaces or classes in the system, allowing it to lazy-load code files as needed (reducing the amount of code that must be parsed on each request).
File
-
includes/
registry.inc, line 8
Functions
Title Sort descending | File name | Summary |
---|---|---|
drupal_autoload_class | includes/ |
Confirms that a class is available. |
drupal_autoload_interface | includes/ |
Confirms that an interface is available. |
drupal_autoload_trait | includes/ |
Confirms that a trait is available. |
registry_get_parsed_files | includes/ |
Return the list of files in registry_file |
registry_rebuild | includes/ |
Rescans all enabled modules and rebuilds the registry. |
registry_update | includes/ |
Updates the registry based on the latest files listed in the database. |
_registry_check_code | includes/ |
Checks for a resource in the registry. |
_registry_parse_file | includes/ |
Parse a file and save its interface and class listings. |
_registry_parse_files | includes/ |
Parse all changed files and save their interface and class listings. |
_registry_update | includes/ |
Does the work for registry_update(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.