You are here

public function CalendarController::showCurrentCalendarYear in Content Planner 8

Show Calendar year.

1 string reference to 'CalendarController::showCurrentCalendarYear'
content_calendar.routing.yml in modules/content_calendar/content_calendar.routing.yml
modules/content_calendar/content_calendar.routing.yml

File

modules/content_calendar/src/Controller/CalendarController.php, line 69

Class

CalendarController
Class CalendarController.

Namespace

Drupal\content_calendar\Controller

Code

public function showCurrentCalendarYear() {
  $year = date('Y');
  return $this
    ->showCalendarYear($year);
}