public function CalendarEvent::isDisplayed in Opigno calendar event 8
Same name and namespace in other branches
- 3.x src/Entity/CalendarEvent.php \Drupal\opigno_calendar_event\Entity\CalendarEvent::isDisplayed()
Checks whether this calendar event should appear on calendars.
Return value
bool TRUE if the calendar event should be displayed, FALSE otherwise.
Overrides CalendarEventInterface::isDisplayed
File
- src/
Entity/ CalendarEvent.php, line 166
Class
- CalendarEvent
- Defines the "Calendar event" entity class.
Namespace
Drupal\opigno_calendar_event\EntityCode
public function isDisplayed() {
return (bool) $this
->get('displayed')->value;
}