ShortcutSetStorage::__construct

public ShortcutSetStorage::__construct(EntityTypeInterface $entity_info, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, ModuleHandlerInterface $module_handler, LanguageManagerInterface $language_manager)

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 40

Class

ShortcutSetStorage
Defines a storage for shortcut_set entities.

Namespace

Drupal\shortcut

Code

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;
}
doc_Drupal
2016-10-29 09:42:58
Comments
Leave a Comment

Please login to continue.