public function XmlSitemapStorage::__construct in XML sitemap 8
Same name and namespace in other branches
- 2.x src/XmlSitemapStorage.php \Drupal\xmlsitemap\XmlSitemapStorage::__construct()
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\State\StateInterface $state: The state service.
\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface|null $memory_cache: The memory cache backend.
Overrides ConfigEntityStorage::__construct
File
- src/
XmlSitemapStorage.php, line 43
Class
- XmlSitemapStorage
- XmlSitemap storage service class.
Namespace
Drupal\xmlsitemapCode
public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, StateInterface $state, MemoryCacheInterface $memory_cache = NULL) {
parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager, $memory_cache);
$this->state = $state;
}