public function CalendarEvent::setGranularity in Calendar 8
Same name and namespace in other branches
- 8.2 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::setGranularity()
Setter for the event granularity.
Parameters
string $granularity: The event granularity.
File
- src/
CalendarEvent.php, line 194
Class
- CalendarEvent
- Defines a calendar event object.
Namespace
Drupal\calendarCode
public function setGranularity($granularity) {
$this->granularity = $granularity;
}