You are here

public function Task::setProcessedById in General Data Protection Regulation 3.0.x

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

File

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

Class

Task
Defines the Task entity.

Namespace

Drupal\gdpr_tasks\Entity

Code

public function setProcessedById($uid) {
  $this
    ->set('processed_by', $uid);
  return $this;
}