You are here

public function OperationItem::getStatus in GatherContent 8.3

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

Getter for status property.

Return value

string Status value.

Overrides OperationItemInterface::getStatus

File

src/Entity/OperationItem.php, line 37

Class

OperationItem
Defines the Gathercontent operation item entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getStatus() {
  return $this
    ->get('status')->value;
}