You are here

public function DomainForm::__construct in Domain Access 8

Constructs a DomainForm object.

Parameters

\Drupal\domain\DomainStorageInterface $domain_storage: The domain storage manager.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

\Drupal\domain\DomainValidatorInterface $validator: The domain validator.

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

File

domain/src/DomainForm.php, line 56

Class

DomainForm
Base form for domain edit forms.

Namespace

Drupal\domain

Code

public function __construct(DomainStorageInterface $domain_storage, RendererInterface $renderer, DomainValidatorInterface $validator, EntityTypeManagerInterface $entity_type_manager) {
  $this->domainStorage = $domain_storage;
  $this->renderer = $renderer;
  $this->validator = $validator;
  $this->entityTypeManager = $entity_type_manager;
}