You are here

public function DisplayHelper::__construct in Lightning Core 8.5

Same name and namespace in other branches
  1. 8 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
  2. 8.2 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
  3. 8.3 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
  4. 8.4 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()

DisplayHelper constructor.

Parameters

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

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

File

src/DisplayHelper.php, line 36

Class

DisplayHelper
Helps query and configure various display settings.

Namespace

Drupal\lightning_core

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityFieldManager = $entity_field_manager;
}