function NodeTypeOptions::__construct

Constructs a NodeTypeOptions object.

Parameters

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

File

src/TypedData/Options/NodeTypeOptions.php, line 28

Class

NodeTypeOptions
Options provider to list all node types.

Namespace

Drupal\rules\TypedData\Options

Code

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