You are here

public function CustomPublishingOptionForm::__construct in Custom Publishing Options 8

CustomPublishingOptionForm constructor.

Parameters

\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $entity_definition_manager:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

File

src/Form/CustomPublishingOptionForm.php, line 34

Class

CustomPublishingOptionForm
Class CustomPublishingOptionForm.

Namespace

Drupal\custom_pub\Form

Code

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