You are here

public function FullCalendarFixedStateEventFormatter::__construct in Booking and Availability Management Tools for Drupal 7

Same name and namespace in other branches
  1. 8 modules/bat_fullcalendar/src/FullCalendarFixedStateEventFormatter.php \Drupal\bat_fullcalendar\FullCalendarFixedStateEventFormatter::__construct()

Parameters

string $event_type:

bool $background:

File

modules/bat_fullcalendar/src/FullCalendarFixedStateEventFormatter.php, line 33
Class FullCalendarFixedStateEventFormatter.

Class

FullCalendarFixedStateEventFormatter

Namespace

Drupal\bat_fullcalendar

Code

public function __construct($event_type, $background = TRUE) {
  $this->event_type = $event_type;
  $this->background = $background;
}