You are here

function gdpr_task_load in General Data Protection Regulation 7

Load a GDPR Task entity.

Parameters

int $id: The id of the task.

Return value

GDPRTask|null The fully loaded task entity if available.

1 call to gdpr_task_load()
GdprTasksSarWorker::processItem in modules/gdpr_tasks/src/Plugin/QueueWorker/GdprTasksSarWorker.php
Process the SARs request.

File

modules/gdpr_tasks/gdpr_tasks.module, line 361
Module file for the GDPR Tasks module.

Code

function gdpr_task_load($id) {
  return entity_load_single('gdpr_task', $id);
}