You are here

public function LocalTaskItem::closed in Translation Management Tool 8

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);
}