function ExecutionContextFactory::__construct
Same name in this branch
- 11.x core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
- 8.9.x core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
- 10 core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php \Drupal\Core\TypedData\Validation\ExecutionContextFactory::__construct()
- 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\ValidationCode
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.