You are here

public function CalendarEvent::getTitle in Calendar 8

The title getter.

Return value

string The title of the event.

File

src/CalendarEvent.php, line 244

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function getTitle() {
  return $this->entity
    ->label();
}