public function ILT::getStartDate in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/Entity/ILT.php \Drupal\opigno_ilt\Entity\ILT::getStartDate()
Returns the entity's start date.
Return value
string The start date string in the 'Y-m-d H:i:s' format, or NULL in case the date range field has not been set on the entity.
Overrides ILTInterface::getStartDate
File
- src/
Entity/ ILT.php, line 114
Class
- ILT
- Defines the ILT entity.
Namespace
Drupal\opigno_ilt\EntityCode
public function getStartDate() {
return $this
->get('date')->value;
}