You are here

public function DisplayHelper::__construct in Lightning Core 8.2

Same name and namespace in other branches
  1. 8.5 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
  2. 8 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\Query\QueryFactory $query_factory: The entity query factory.

\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(QueryFactory $query_factory, EntityFieldManagerInterface $entity_field_manager) {
  $this->queryFactory = $query_factory;
  $this->entityFieldManager = $entity_field_manager;
}