You are here

GDPRTaskType.php in General Data Protection Regulation 7

File

modules/gdpr_tasks/src/Entity/GDPRTaskType.php
View 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

Namesort descending Description
GDPRTaskType The Task type entity class.