You are here

public function Meeting::getDate in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Entity/Meeting.php \Drupal\opigno_moxtra\Entity\Meeting::getDate()

Returns the entity's date range.

Return value

array The date range. Array keys:

  • value - Start date string in the 'Y-m-d H:i:s' format or NULL.
  • end_value - End date string in the 'Y-m-d H:i:s' format or NULL.

Overrides MeetingInterface::getDate

File

src/Entity/Meeting.php, line 157

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getDate() {
  return $this
    ->get('date')
    ->getValue()[0];
}