public function ContactStorageExportService::__construct in Contact Storage Export 8
Creates a new ContactStorageExportService object.
Parameters
\Drupal\csv_serialization\Encoder\CsvEncoder $csv_encoder: The CSV encoder.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- src/
ContactStorageExportService.php, line 44
Class
- ContactStorageExportService
- Provides a set of methods to export contact messages in CSV format.
Namespace
Drupal\contact_storage_exportCode
public function __construct(CsvEncoder $csv_encoder, RendererInterface $renderer) {
$this->csvEncoder = $csv_encoder;
$this->renderer = $renderer;
}