You are here

public function CalendarEvent::getGranularity in Calendar 8

Same name and namespace in other branches
  1. 8.2 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::getGranularity()

Getter for the event granularity.

Return value

string The event granularity.

File

src/CalendarEvent.php, line 184

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function getGranularity() {
  return $this->granularity;
}