You are here

function Generic::__construct in Add to Cal 8

Add in the filesystem service for writing the ICS

Overrides AddToCalTypeBase::__construct

File

src/Plugin/AddToCal/Type/Generic.php, line 44

Class

Generic
Provides generic calendar type (ics).

Namespace

Drupal\addtocal\Plugin\AddToCal\Type

Code

function __construct(array $configuration, $plugin_id, $plugin_definition, $dateFormatter, FileSystemInterface $file_system) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $dateFormatter);
  $this->fileSystem = $file_system;
}