public function Task::getCreatedTime in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_tasks/src/Entity/Task.php \Drupal\gdpr_tasks\Entity\Task::getCreatedTime()
- 8 modules/gdpr_tasks/src/Entity/Task.php \Drupal\gdpr_tasks\Entity\Task::getCreatedTime()
Gets the Task creation timestamp.
Return value
int Creation timestamp of the Task.
Overrides TaskInterface::getCreatedTime
File
- modules/
gdpr_tasks/ src/ Entity/ Task.php, line 74
Class
- Task
- Defines the Task entity.
Namespace
Drupal\gdpr_tasks\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}