You are here

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

Input & output for stack mode.

Type: data

File

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

Class

ColumnToggleTest
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-columntoggle" data-tablesaw-mode="columntoggle" data-tablesaw-minimap=""></table>',
  '<table class="test"></table>' => '<table class="test tablesaw tablesaw-columntoggle" data-tablesaw-mode="columntoggle" 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>' => '<th data-tablesaw-sortable-col="" data-tablesaw-priority="1">Header One</th>',
];