You are here

public function FullCalendarDisplay::__construct in Fullcalendar View 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/style/FullCalendarDisplay.php \Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay::__construct()
  2. 8.2 src/Plugin/views/style/FullCalendarDisplay.php \Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay::__construct()
  3. 6.x src/Plugin/views/style/FullCalendarDisplay.php \Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay::__construct()
  4. 5.x src/Plugin/views/style/FullCalendarDisplay.php \Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay::__construct()

Constructs a PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\fullcalendar_view\TaxonomyColor $taxonomyColorService: The Taxonomy Color Service object.

Overrides PluginBase::__construct

File

src/Plugin/views/style/FullCalendarDisplay.php, line 48

Class

FullCalendarDisplay
Style plugin to render content for FullCalendar.

Namespace

Drupal\fullcalendar_view\Plugin\views\style

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, TaxonomyColor $taxonomyColorService) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->taxonomyColorService = $taxonomyColorService;
}