function EntityTypeOptions::__construct

Constructs a EntityTypeOptions object.

Parameters

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

File

src/TypedData/Options/EntityTypeOptions.php, line 29

Class

EntityTypeOptions
Options provider to list all entity types.

Namespace

Drupal\rules\TypedData\Options

Code

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