You are here

public function CalendarEvent::getStripeHexes in Calendar 8

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

Getter for the stripe hex code array.

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

Return value

array The stripe hex code array.

File

src/CalendarEvent.php, line 313

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

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