You are here

private static property StackTest::$data in Responsive Tables Filter 8

Input & output for stack mode.

Type: data

File

tests/src/Functional/StackTest.php, line 27
Contains \Drupal\responsive_tables_filter\Tests\FilterTest.

Class

StackTest
Tests the responsive_tables_filter filter.

Namespace

Drupal\Tests\responsive_tables_filter\Functional

Code

private static $data = [
  '<table class="no-tablesaw"></table>' => '<table class="no-tablesaw"></table>',
  '<table></table>' => '<table class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""></table>',
  '<table class="test"></table>' => '<table class="test tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""></table>',
  '<table additional="test"><thead><tr><th data-tablesaw-priority="persist">Header One<th>Header 2<tbody><tr><td>Easily add tables with the WYSIWYG toolbar<td>Encoded characters test öô & , ?<tr><td>Tables respond to display on smaller screens<td>Fully accessible to screen readers</table>' => '<table additional="test" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><thead><tr><th data-tablesaw-priority="persist">Header One</th><th>Header 2</th></tr></thead><tbody><tr><td>Easily add tables with the WYSIWYG toolbar</td><td>Encoded characters test öô &amp; , ?</td></tr><tr><td>Tables respond to display on smaller screens</td><td>Fully accessible to screen readers</td></tr></tbody></table>',
];