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

drupal/includes/registry.inc, line 8
This file contains the code registry parser engine.

Functions

Namesort ascending Location Description
_registry_update drupal/includes/registry.inc Does the work for registry_update().
_registry_parse_files drupal/includes/registry.inc Parse all changed files and save their interface and class listings.
_registry_parse_file drupal/includes/registry.inc Parse a file and save its interface and class listings.
_registry_check_code drupal/includes/bootstrap.inc Checks for a resource in the registry.
registry_update drupal/includes/bootstrap.inc Updates the registry based on the latest files listed in the database.
registry_rebuild drupal/includes/bootstrap.inc Rescans all enabled modules and rebuilds the registry.
registry_get_parsed_files drupal/includes/registry.inc Return the list of files in registry_file
drupal_autoload_trait drupal/includes/bootstrap.inc Confirms that a trait is available.
drupal_autoload_interface drupal/includes/bootstrap.inc Confirms that an interface is available.
drupal_autoload_class drupal/includes/bootstrap.inc Confirms that a class is available.