You are here

public function PrintFormatTest::__construct in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php \Drupal\Tests\printable\Unit\Plugin\PrintableFormat\PrintFormatTest::__construct()

File

tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php, line 39

Class

PrintFormatTest
Tests the print format plugin.

Namespace

Drupal\Tests\printable\Unit\Plugin\PrintableFormat

Code

public function __construct() {
  $this->pluginDefinition = [
    'description' => 'Print description.',
    'id' => 'print',
    'module' => 'printable',
    'title' => 'Print',
    'class' => 'Drupal\\printable\\Plugin\\PrintableFormat\\PrintFormat',
    'provider' => 'printable',
  ];
  $this->pluginId = 'print';
  $this->configuration = [];
}