You are here

public function AddToCalTypeBase::__construct in Add to Cal 8

Constructs a AddToCalPluginBase object.

Parameters

array $configuration:

string $plugin_id:

mixed $plugin_definition:

Overrides PluginBase::__construct

1 call to AddToCalTypeBase::__construct()
Generic::__construct in src/Plugin/AddToCal/Type/Generic.php
Add in the filesystem service for writing the ICS
1 method overrides AddToCalTypeBase::__construct()
Generic::__construct in src/Plugin/AddToCal/Type/Generic.php
Add in the filesystem service for writing the ICS

File

src/AddToCalTypeBase.php, line 34

Class

AddToCalTypeBase

Namespace

Drupal\addtocal

Code

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