public function ParagraphsTypeIconUuidLookup::__construct

Constructs a ParagraphsTypeIconUuidLookup instance.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.

\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

paragraphs/src/ParagraphsTypeIconUuidLookup.php, line 32

Class

ParagraphsTypeIconUuidLookup
A cache collector that caches IDs for the paragraphs_type entity icon UUIDs.

Namespace

Drupal\paragraphs

Code

public function __construct(CacheBackendInterface $cache, LockBackendInterface $lock, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct('paragraphs_type_icon_uuid', $cache, $lock);
  $this->entityTypeManager = $entity_type_manager;
}