You are here

public function Meeting::getEndDate in Opigno Moxtra 8

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

Returns the entity's end date.

Return value

string The end 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 MeetingInterface::getEndDate

File

src/Entity/Meeting.php, line 150

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getEndDate() {
  return $this
    ->get('date')->end_value;
}