private function ViewsDataExportBatchTest::readCsv in Views data export 8
Reading CSV content.
Parameters
string $content: Content from file.
Return value
array|mixed Array of CSV rows.
1 call to ViewsDataExportBatchTest::readCsv()
- ViewsDataExportBatchTest::testBatchCreation in tests/
src/ Functional/ ViewsDataExportBatchTest.php - Test VDE SQL views with batch.
File
- tests/
src/ Functional/ ViewsDataExportBatchTest.php, line 128
Class
- ViewsDataExportBatchTest
- Tests views data export with batch.
Namespace
Drupal\Tests\views_data_export\FunctionalCode
private function readCsv($content) {
$csvEncoder = new CsvEncoder();
return $csvEncoder
->decode($content, '');
}