public function GDPRTask::bundleLabel in General Data Protection Regulation 7
Gets the human readable label of the tasks bundle.
Overrides GDPRTaskInterface::bundleLabel
File
- modules/
gdpr_tasks/ src/ Entity/ GDPRTask.php, line 107
Class
- GDPRTask
- The Task entity class.
Code
public function bundleLabel() {
// Add in the translated specified label property.
return $this->entityInfo['bundles'][$this
->bundle()]['label'];
}