public function CalendarEvent::setEndDate in Calendar 8
Same name and namespace in other branches
- 8.2 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::setEndDate()
Setter for the end date.
Parameters
\DateTime $endDate: The end date.
File
- src/
CalendarEvent.php, line 174
Class
- CalendarEvent
- Defines a calendar event object.
Namespace
Drupal\calendarCode
public function setEndDate($endDate) {
$this->endDate = $endDate;
}