function ContextMapper::__construct

Constructs a new ContextMapper.

Parameters

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository.

File

src/ContextMapper.php, line 29

Class

ContextMapper
Maps context configurations to context objects.

Namespace

Drupal\ctools

Code

public function __construct(EntityRepositoryInterface $entity_repository) {
  $this->entityRepository = $entity_repository;
}