You are here

public function BlazyAdminBase::__construct in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/Form/BlazyAdminBase.php \Drupal\blazy\Form\BlazyAdminBase::__construct()
  2. 7 src/Form/BlazyAdminBase.php \Drupal\blazy\Form\BlazyAdminBase::__construct()

Constructs a BlazyAdminBase object.

Parameters

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed config service.

\Drupal\slick\BlazyManagerInterface $blazy_manager: The blazy manager service.

File

src/Form/BlazyAdminBase.php, line 88

Class

BlazyAdminBase
A base for blazy admin integration to have re-usable methods in one place.

Namespace

Drupal\blazy\Form

Code

public function __construct(EntityDisplayRepositoryInterface $entity_display_repository, TypedConfigManagerInterface $typed_config, BlazyManagerInterface $blazy_manager) {
  $this->entityDisplayRepository = $entity_display_repository;
  $this->typedConfig = $typed_config;
  $this->blazyManager = $blazy_manager;
}