public function WebformOptionsStorage::__construct in Webform 8.5
Constructs a WebformOptionsStorage object.
@todo Webform 8.x-6.x: Move $memory_cache right after $language_manager.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Drupal\Component\Uuid\UuidInterface $uuid_service: The UUID service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Render\ElementInfoManagerInterface $element_info: The element info manager.
\Drupal\webform\Plugin\WebformElementManagerInterface $element_manager: The webform element manager.
\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache.
Overrides ConfigEntityStorage::__construct
File
- src/
WebformOptionsStorage.php, line 71
Class
- WebformOptionsStorage
- Storage controller class for "webform_options" configuration entities.
Namespace
Drupal\webformCode
public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, ElementInfoManagerInterface $element_info, WebformElementManagerInterface $element_manager, MemoryCacheInterface $memory_cache = NULL) {
parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager, $memory_cache);
$this->elementInfo = $element_info;
$this->elementManager = $element_manager;
}