You are here

protected function Calendar::generateCalendarId in Content Planner 8

Generates a calendar id.

Return value

string The calendar id.

1 call to Calendar::generateCalendarId()
Calendar::buildCalendarDataStructure in modules/content_calendar/src/Component/Calendar.php
Build data structure for Calendar.

File

modules/content_calendar/src/Component/Calendar.php, line 88

Class

Calendar

Namespace

Drupal\content_calendar\Component

Code

protected function generateCalendarId() {
  return $this->year . '-' . $this->month;
}