You are here

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

Overrides StateInterface::setColor

File

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

Class

State
Defines the State entity.

Namespace

Drupal\bat_event\Entity

Code

public function setColor($color) {
  $this
    ->set('color', $color);
  return $this;
}