class TestRegistry in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\TestRegistry
Hierarchy
- class \Drupal\Core\Theme\Registry implements DestructableInterface
- class \Drupal\Tests\Core\Theme\TestRegistry
Expanded class hierarchy of TestRegistry
File
- core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php, line 144 - Contains \Drupal\Tests\Core\Theme\RegistryTest.
Namespace
Drupal\Tests\Core\ThemeView source
class TestRegistry extends Registry {
public function setTheme(ActiveTheme $theme) {
$this->theme = $theme;
}
protected function init($theme_name = NULL) {
}
protected function getPath($module) {
if ($module == 'theme_test') {
return 'core/modules/system/tests/modules/theme_test';
}
}
protected function listThemes() {
}
protected function initializeTheme() {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Registry:: |
protected | property | The cache backend to use for the complete theme registry data. | |
Registry:: |
protected | property | Stores whether the registry was already initialized. | |
Registry:: |
protected | property | The lock backend that should be used. | |
Registry:: |
protected | property | The module handler to use to load modules. | |
Registry:: |
protected | property | The complete theme registry. | |
Registry:: |
protected | property | The app root. | |
Registry:: |
protected | property | The incomplete, runtime theme registry. | |
Registry:: |
protected | property | The theme object representing the active theme for this registry. | |
Registry:: |
protected | property | The theme handler. | |
Registry:: |
protected | property | The theme manager. | |
Registry:: |
protected | property | The name of the theme for which to construct the registry, if given. | |
Registry:: |
protected | function | Builds the theme registry cache. | |
Registry:: |
protected | function | Completes the definition of the requested suggestion hook. | |
Registry:: |
public | function |
Performs destruct operations. Overrides DestructableInterface:: |
|
Registry:: |
public | function | Returns the complete theme registry from cache or rebuilds it. | |
Registry:: |
public | function | Returns the base hook for a given hook suggestion. | |
Registry:: |
public | function | Gets all user functions grouped by the word before the first underscore. | |
Registry:: |
public | function | Returns the incomplete, runtime theme registry. | |
Registry:: |
protected | function | Completes the theme registry adding discovered functions and hooks. | |
Registry:: |
protected | function | Process a single implementation of hook_theme(). | |
Registry:: |
public | function | Invalidates theme registry caches. | |
Registry:: |
protected | function | Persists the theme registry in the cache backend. | |
Registry:: |
public | function | Sets the theme manager. | |
Registry:: |
public | function | Constructs a \Drupal\Core\Theme\Registry object. | |
TestRegistry:: |
protected | function |
Wraps drupal_get_path(). Overrides Registry:: |
|
TestRegistry:: |
protected | function |
Initializes a theme with a certain name. Overrides Registry:: |
|
TestRegistry:: |
protected | function | ||
TestRegistry:: |
protected | function | ||
TestRegistry:: |
public | function |