You are here

public function WidgetDefaults::__construct in Simple hierarchical select 2.0.x

Same name and namespace in other branches
  1. 8 src/WidgetDefaults.php \Drupal\shs\WidgetDefaults::__construct()

WidgetDefaults constructor.

Parameters

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

File

src/WidgetDefaults.php, line 25

Class

WidgetDefaults
Helper class for setting default values on SHS widgets.

Namespace

Drupal\shs

Code

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