You are here

public function CalendarDateInfo::setGranularity in Calendar 8

Setter for the granularity.

Parameters

string $granularity: The calendar granularity.

File

src/CalendarDateInfo.php, line 211

Class

CalendarDateInfo
Defines a calendar date info object.

Namespace

Drupal\calendar

Code

public function setGranularity($granularity) {
  $this->granularity = $granularity;
}