You are here

public function Meeting::setDate in Opigno Moxtra 8

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

Sets the entity's date range.

Parameters

array $date: The date range. Array keys:

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

Return value

$this

Overrides MeetingInterface::setDate

File

src/Entity/Meeting.php, line 164

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function setDate($date) {
  $this
    ->set('date', $date);
  return $this;
}