You are here

public function OperationItem::getItemStatusColor in GatherContent 8.3

Same name and namespace in other branches
  1. 8.4 src/Entity/OperationItem.php \Drupal\gathercontent\Entity\OperationItem::getItemStatusColor()

Getter for item status color property.

Return value

string Hex value for status color.

Overrides OperationItemInterface::getItemStatusColor

File

src/Entity/OperationItem.php, line 44

Class

OperationItem
Defines the Gathercontent operation item entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getItemStatusColor() {
  return $this
    ->get('item_status_color')->value;
}