protected property GroupContentCardinalityValidator::$context in Group 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Validation/Constraint/GroupContentCardinalityValidator.php \Drupal\group\Plugin\Validation\Constraint\GroupContentCardinalityValidator::context
Type-hinting in parent Symfony class is off, let's fix that.
Type: \Symfony\Component\Validator\Context\ExecutionContextInterface
File
- src/
Plugin/ Validation/ Constraint/ GroupContentCardinalityValidator.php, line 21
Class
- GroupContentCardinalityValidator
- Checks the amount of times a single content entity can be added to a group.
Namespace
Drupal\group\Plugin\Validation\ConstraintCode
protected $context;