protected function DateRecurRulePartConstraintValidator::getPartLabels in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/Validation/Constraint/DateRecurRulePartConstraintValidator.php \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRulePartConstraintValidator::getPartLabels()
- 3.0.x src/Plugin/Validation/Constraint/DateRecurRulePartConstraintValidator.php \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRulePartConstraintValidator::getPartLabels()
- 3.1.x src/Plugin/Validation/Constraint/DateRecurRulePartConstraintValidator.php \Drupal\date_recur\Plugin\Validation\Constraint\DateRecurRulePartConstraintValidator::getPartLabels()
Labels for parts.
Return value
array Labels for parts keyed by part.
1 call to DateRecurRulePartConstraintValidator::getPartLabels()
- DateRecurRulePartConstraintValidator::validate in src/
Plugin/ Validation/ Constraint/ DateRecurRulePartConstraintValidator.php
File
- src/
Plugin/ Validation/ Constraint/ DateRecurRulePartConstraintValidator.php, line 117
Class
- DateRecurRulePartConstraintValidator
- Validates the DateRecurRulePartConstraint constraint.
Namespace
Drupal\date_recur\Plugin\Validation\ConstraintCode
protected function getPartLabels() : array {
if (!isset($this->partLabels)) {
$this->partLabels = DateRecurRruleMap::partLabels();
}
return $this->partLabels;
}