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