Registry::$registry

protected property Registry::$registry

The complete theme registry.

An array of theme registries, keyed by the theme name. Each registry is an associative array keyed by theme hook names, whose values are associative arrays containing the aggregated hook definition:

  • type: The type of the extension the original theme hook originates from; e.g., 'module' for theme hook 'node' of Node module.
  • name: The name of the extension the original theme hook originates from; e.g., 'node' for theme hook 'node' of Node module.
  • theme path: The effective \Drupal\Core\Theme\ActiveTheme::getPath() during 登录查看完整内容