GDPRTaskType.php in General Data Protection Regulation 7
File
modules/gdpr_tasks/src/Entity/GDPRTaskType.phpView source
<?php
/**
* The Task type entity class.
*/
class GDPRTaskType extends Entity {
public $type;
public $label;
public $weight = 0;
/**
* {@inheritdoc}
*/
public function __construct($values = array()) {
parent::__construct($values, 'gdpr_task_type');
}
/**
* {@inheritdoc}
*/
protected function defaultLabel() {
return $this->label;
}
}
Classes
Name | Description |
---|---|
GDPRTaskType | The Task type entity class. |