protected function ExcelExport::generateFilename in Excel Serialization 8
Given a filename and a view, generate a filename.
Parameters
string $filename_pattern: The filename, which may contain replacement tokens.
Return value
string The filename with any tokens replaced.
1 call to ExcelExport::generateFilename()
- ExcelExport::render in src/
Plugin/ views/ display/ ExcelExport.php - Renders this display.
File
- src/
Plugin/ views/ display/ ExcelExport.php, line 84
Class
- ExcelExport
- Provides an Excel export display plugin.
Namespace
Drupal\xls_serialization\Plugin\views\displayCode
protected function generateFilename($filename_pattern) {
return $this
->globalTokenReplace($filename_pattern);
}