You are here

public function CalendarStyleInfo::setShowWeekNumbers in Calendar 8

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

Setter for the show week numbers variable.

Parameters

bool $showWeekNumbers: TRUE to display the week numbers, FAlSE otherwise.

File

src/CalendarStyleInfo.php, line 265

Class

CalendarStyleInfo
Defines a calendar style info object.

Namespace

Drupal\calendar

Code

public function setShowWeekNumbers($showWeekNumbers) {
  $this->showWeekNumbers = $showWeekNumbers;
}