You are here

public function FixedToContentMappingHandler::__construct in Fixed Block Content 8

MappingHandler constructor.

Parameters

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

\Drupal\Core\Database\Connection $database: The database connection.

\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache.

File

src/FixedToContentMappingHandler.php, line 50

Class

FixedToContentMappingHandler
Fixed block to block content mapping entity handler.

Namespace

Drupal\fixed_block_content

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, Connection $database, MemoryCacheInterface $memory_cache) {
  $this->entityTypeManager = $entity_type_manager;
  $this->database = $database;
  $this->memoryCache = $memory_cache;
}