public function ExcelExport::__construct in Excel Serialization 8
Constructs a Plugin 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.
mixed $serializer: The serializer for the plugin instance.
array $serializer_formats: The serializer formats for the plugin instance.
array $serializer_format_providers: The serializer format providers for the plugin instance.
Overrides Serializer::__construct
File
- src/
Plugin/ views/ style/ ExcelExport.php, line 40
Class
- ExcelExport
- A style plugin for Excel export views.
Namespace
Drupal\xls_serialization\Plugin\views\styleCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, $serializer, array $serializer_formats, array $serializer_format_providers) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $serializer, $serializer_formats, $serializer_format_providers);
$this->formats = [
'xls',
'xlsx',
];
$this->formatProviders = [
'xls' => 'xls_serialization',
'xlsx' => 'xls_serialization',
];
}