You are here

public function Task::getStatus in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_tasks/src/Entity/Task.php \Drupal\gdpr_tasks\Entity\Task::getStatus()
  2. 3.0.x modules/gdpr_tasks/src/Entity/Task.php \Drupal\gdpr_tasks\Entity\Task::getStatus()

Gets the current status of the task.

Return value

string The status of the Task entity.

Overrides TaskInterface::getStatus

1 call to Task::getStatus()
Task::getStatusLabel in modules/gdpr_tasks/src/Entity/Task.php
Gets the current human readable status of the task.

File

modules/gdpr_tasks/src/Entity/Task.php, line 154

Class

Task
Defines the Task entity.

Namespace

Drupal\gdpr_tasks\Entity

Code

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