You are here

public function PrintBuilderTest::outputtedFileDataProvider in Entity Print 8.2

Provides a data provider for testOutputtedFilename().

File

tests/src/Kernel/PrintBuilderTest.php, line 63

Class

PrintBuilderTest
@coversDefaultClass \Drupal\entity_print\PrintBuilder @group entity_print

Namespace

Drupal\Tests\entity_print\Kernel

Code

public function outputtedFileDataProvider() {
  return [
    'PDF file' => [
      'testprintengine',
      'myfile.pdf',
    ],
    'Word doc file' => [
      'test_word_print_engine',
      'myfile.docx',
    ],
  ];
}