You are here

public function SimpleSitemapTypeStorage::__construct in Simple XML sitemap 4.x

Constructs a ConfigEntityStorage object.

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\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache backend.

Overrides ConfigEntityStorage::__construct

File

src/Entity/SimpleSitemapTypeStorage.php, line 19

Class

SimpleSitemapTypeStorage

Namespace

Drupal\simple_sitemap\Entity

Code

public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, MemoryCacheInterface $memory_cache, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager, $memory_cache);
  $this->entityTypeManager = $entity_type_manager;
}