public static function DateRecurRruleMap::partDescriptions in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 src/DateRecurRruleMap.php \Drupal\date_recur\DateRecurRruleMap::partDescriptions()
- 3.0.x src/DateRecurRruleMap.php \Drupal\date_recur\DateRecurRruleMap::partDescriptions()
- 3.1.x src/DateRecurRruleMap.php \Drupal\date_recur\DateRecurRruleMap::partDescriptions()
Descriptions for parts.
Return value
array Descriptions for parts keyed by part.
1 call to DateRecurRruleMap::partDescriptions()
- DateRecurItem::fieldSettingsForm in src/
Plugin/ Field/ FieldType/ DateRecurItem.php - Returns a form for the field-level settings.
File
- src/
DateRecurRruleMap.php, line 117
Class
- DateRecurRruleMap
- Rrule maps.
Namespace
Drupal\date_recurCode
public static function partDescriptions() : array {
return [
'DTSTART' => new TranslatableMarkup('The starting date.'),
'UNTIL' => new TranslatableMarkup('Specify a date occurrences cannot be generated after.'),
'COUNT' => new TranslatableMarkup('Specify number of occurrences.'),
'INTERVAL' => new TranslatableMarkup('Specify at an interval where the repeating rule repeats.'),
'BYSECOND' => new TranslatableMarkup('Specify the second(s) where a repeating rule repeats.'),
'BYMINUTE' => new TranslatableMarkup('Specify the minute(s) where a repeating rule repeats.'),
'BYHOUR' => new TranslatableMarkup('Specify the hour(s) where a repeating rule repeats.'),
'BYDAY' => new TranslatableMarkup('Specify the weekday(s) where a repeating rule repeats.'),
'BYMONTHDAY' => new TranslatableMarkup('Specify the day number(s) in a month where a repeating rule repeats.'),
'BYYEARDAY' => new TranslatableMarkup('Specify the day number(s) in a year where a repeating rule repeats.'),
'BYWEEKNO' => new TranslatableMarkup('Specify the week number(s) in a year where a repeating rule repeats.'),
'BYMONTH' => new TranslatableMarkup('Specify the month(s) where a repeating rule repeats.'),
'BYSETPOS' => new TranslatableMarkup('Specify the the nth occurrence(s) in combination with other BY rules to limit occurrences.'),
'WKST' => new TranslatableMarkup('Specify the first day of the week.'),
];
}