function UniquePathAliasConstraintValidator::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\UniquePathAliasConstraintValidator::__construct()
- 10 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\UniquePathAliasConstraintValidator::__construct()
- 11.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\UniquePathAliasConstraintValidator::__construct()
Creates a new UniquePathAliasConstraintValidator instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
-
core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ UniquePathAliasConstraintValidator.php, line 29
Class
- UniquePathAliasConstraintValidator
- Constraint validator for a unique path alias.
Namespace
Drupal\Core\Path\Plugin\Validation\ConstraintCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.