You are here

public function OperationItem::getItemStatus in GatherContent 8.3

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

Getter for item status property.

Return value

string Item status value.

Overrides OperationItemInterface::getItemStatus

File

src/Entity/OperationItem.php, line 51

Class

OperationItem
Defines the Gathercontent operation item entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getItemStatus() {
  return $this
    ->get('item_status')->value;
}