You are here

public function CalendarEvent::getStripeLabels in Calendar 8

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

Getter for the stripe label array.

If no array is defined, this initializes the variable to an empty array.

Return value

array The stripe labels.

File

src/CalendarEvent.php, line 288

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function getStripeLabels() {
  if (!isset($this->stripeLabels)) {
    $this->stripeLabels = [];
  }
  return $this->stripeLabels;
}