function ExecutionContextFactory::__construct

Same name in this branch
  1. 11.x core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
  2. 8.9.x core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
  3. 10 core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
  4. 10 core/lib/Drupal/Core/Validation/ExecutionContextFactory.php \Drupal\Core\Validation\ExecutionContextFactory::__construct()

Constructs a new ExecutionContextFactory instance.

Parameters

\Drupal\Core\Validation\TranslatorInterface $translator: The translator instance.

string|null $translationDomain: (optional) The translation domain.

1 call to ExecutionContextFactory::__construct()
ExecutionContextFactory::__construct in core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
Constructs a new ExecutionContextFactory instance.
1 method overrides ExecutionContextFactory::__construct()
ExecutionContextFactory::__construct in core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
Constructs a new ExecutionContextFactory instance.

File

core/lib/Drupal/Core/Validation/ExecutionContextFactory.php, line 24

Class

ExecutionContextFactory
Defines an execution factory for the Symfony validator.

Namespace

Drupal\Core\Validation

Code

public function __construct(TranslatorInterface $translator, ?string $translationDomain = NULL) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.