public function LocalTaskItem::closed

Sets the task item status to closed.

Overrides LocalTaskItemInterface::closed

File

translators/tmgmt_local/src/Entity/LocalTaskItem.php, line 176

Class

LocalTaskItem
Entity class for the local task item entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function closed() {
  $this
    ->set('status', LocalTaskItemInterface::STATUS_CLOSED);
}