You are here

protected function IcalDisplay::generateFilename in Views iCal 8

Given a filename and a view, generate a filename.

Parameters

$filename_pattern: The filename, which may contain replacement tokens.

Return value

string The filename with any tokens replaced.

1 call to IcalDisplay::generateFilename()
IcalDisplay::render in src/Plugin/views/display/IcalDisplay.php
Renders this display.

File

src/Plugin/views/display/IcalDisplay.php, line 88

Class

IcalDisplay
Provides a separate iCal display type.

Namespace

Drupal\views_ical\Plugin\views\display

Code

protected function generateFilename($filename_pattern) {
  return $this
    ->globalTokenReplace($filename_pattern);
}