ExtensionExistsConstraint::$type
Same name in other branches
- 11.x core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php \Drupal\Core\Extension\Plugin\Validation\Constraint\ExtensionExistsConstraint::type
The type of extension to look for. Can be 'module' or 'theme'.
Type: string
File
-
core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionExistsConstraint.php, line 39
Class
- ExtensionExistsConstraint
- Checks that the value is the name of an installed extension.
Namespace
Drupal\Core\Extension\Plugin\Validation\ConstraintCode
public string $type;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.