You are here

public function CalendarEvent::setDisplayed in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x src/Entity/CalendarEvent.php \Drupal\opigno_calendar_event\Entity\CalendarEvent::setDisplayed()

Determines whether this calendar event should appear on calendars.

Parameters

bool $displayed: TRUE if the calendar event should be displayed, FALSE otherwise.

Overrides CalendarEventInterface::setDisplayed

File

src/Entity/CalendarEvent.php, line 173

Class

CalendarEvent
Defines the "Calendar event" entity class.

Namespace

Drupal\opigno_calendar_event\Entity

Code

public function setDisplayed($displayed) {
  $this
    ->set('displayed', $displayed);
}