public function DisplayHelper::__construct in Lightning Core 8.3
Same name and namespace in other branches
- 8.5 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
- 8 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
- 8.2 src/DisplayHelper.php \Drupal\lightning_core\DisplayHelper::__construct()
- 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_coreCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
}