You are here

public function BlazyAdminBase::__construct in Blazy 8.2

Same name and namespace in other branches
  1. 8 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\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

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

File

src/Form/BlazyAdminBase.php, line 100

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, DateFormatterInterface $date_formatter, BlazyManagerInterface $blazy_manager) {
  $this->entityDisplayRepository = $entity_display_repository;
  $this->typedConfig = $typed_config;
  $this->dateFormatter = $date_formatter;
  $this->blazyManager = $blazy_manager;
}