public function WidgetDefaults::__construct in Simple hierarchical select 8
Same name and namespace in other branches
- 2.0.x 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\shsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}