public function UiPatternsSettingsManager::__construct in UI Patterns Settings 8
Same name and namespace in other branches
- 8.2 src/UiPatternsSettingsManager.php \Drupal\ui_patterns_settings\UiPatternsSettingsManager::__construct()
UiPatternsSettingsManager constructor.
Overrides DefaultPluginManager::__construct
File
- src/
UiPatternsSettingsManager.php, line 22
Class
- UiPatternsSettingsManager
- Provides the UI Patterns Settings plugin manager.
Namespace
Drupal\ui_patterns_settingsCode
public function __construct(\Traversable $namespaces, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend) {
parent::__construct('Plugin/UiPatterns/SettingType', $namespaces, $module_handler, 'Drupal\\ui_patterns_settings\\SettingTypeInterface', 'Drupal\\ui_patterns_settings\\Annotation\\UiPatternsSettingType');
$this->moduleHandler = $module_handler;
$this
->alterInfo('ui_patterns_settings_info');
$this
->setCacheBackend($cache_backend, 'ui_patterns_settings', [
'ui_patterns_settings',
]);
}