You are here

public function CalendarStyleInfo::setMaxItems in Calendar 8

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

Setter for the max items variable.

Parameters

int $maxItems: The maximum amount of items to show.

File

src/CalendarStyleInfo.php, line 365

Class

CalendarStyleInfo
Defines a calendar style info object.

Namespace

Drupal\calendar

Code

public function setMaxItems($maxItems) {
  $this->maxItems = $maxItems;
}