class DateRecurRruleConstraint in Recurring Dates Field 3.1.x
Same name and namespace in other branches
- 8.2 src/Plugin/Validation/Constraint/DateRecurRruleConstraint.php \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRruleConstraint
- 3.x src/Plugin/Validation/Constraint/DateRecurRruleConstraint.php \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRruleConstraint
- 3.0.x src/Plugin/Validation/Constraint/DateRecurRruleConstraint.php \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRruleConstraint
Validates RRULE strings.
Plugin annotation
@Constraint(
id = "DateRecurRrule",
label = @Translation("Validates RRULEs", context = "Validation"),
)
Hierarchy
- class \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRruleConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of DateRecurRruleConstraint
File
- src/
Plugin/ Validation/ Constraint/ DateRecurRruleConstraint.php, line 17
Namespace
Drupal\date_recur\Plugin\Validation\ConstraintView source
class DateRecurRruleConstraint extends Constraint {
/**
* Violation message for an invalid RRULE.
*
* @var string
*/
public $invalidRrule = 'Invalid RRULE.';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DateRecurRruleConstraint:: |
public | property | Violation message for an invalid RRULE. |