public constant DateRecurGranularityMap::GRANULARITY in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 src/DateRecurGranularityMap.php \Drupal\date_recur\DateRecurGranularityMap::GRANULARITY
- 3.0.x src/DateRecurGranularityMap.php \Drupal\date_recur\DateRecurGranularityMap::GRANULARITY
- 3.1.x src/DateRecurGranularityMap.php \Drupal\date_recur\DateRecurGranularityMap::GRANULARITY
Granularities and their associated weight.
Larger weights correspond to smaller time units.
File
- src/
DateRecurGranularityMap.php, line 19
Class
- DateRecurGranularityMap
- Granularity maps.
Namespace
Drupal\date_recurCode
public const GRANULARITY = [
'year' => 1,
'month' => 2,
'day' => 3,
'second' => 6,
];