You are here

public function State::getColor in Booking and Availability Management Tools for Drupal 8

Overrides StateInterface::getColor

File

modules/bat_event/src/Entity/State.php, line 118
Contains \Drupal\bat_event\Entity\State.

Class

State
Defines the State entity.

Namespace

Drupal\bat_event\Entity

Code

public function getColor() {
  return $this
    ->get('color')->value;
}