public function ShortcutSetStorage::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/shortcut/src/ShortcutSetStorage.php \Drupal\shortcut\ShortcutSetStorage::__construct()
Constructs a ShortcutSetStorageController object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_info: The entity info for the entity type.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Drupal\Component\Uuid\UuidInterface $uuid_service: The UUID service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
Overrides ConfigEntityStorage::__construct
File
- core/
modules/ shortcut/ src/ ShortcutSetStorage.php, line 45 - Contains \Drupal\shortcut\ShortcutSetStorage.
Class
- ShortcutSetStorage
- Defines a storage for shortcut_set entities.
Namespace
Drupal\shortcutCode
public function __construct(EntityTypeInterface $entity_info, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, ModuleHandlerInterface $module_handler, LanguageManagerInterface $language_manager) {
parent::__construct($entity_info, $config_factory, $uuid_service, $language_manager);
$this->moduleHandler = $module_handler;
}