Drupal 8  8.0.2
TableTest Class Reference
Inheritance diagram for TableTest:

Public Member Functions

 testThemeTableStickyHeaders ()
 
 testThemeTableNoStickyHeaders ()
 
 testThemeTableWithEmptyMessage ()
 
 testThemeTableWithNoStriping ()
 
 testThemeTableFooter ()
 
 testThemeTableHeaderCellOption ()
 
 testThemeTableResponsive ()
 
 testThemeTableNotResponsiveHeaders ()
 
 testThemeTableNotResponsiveProperty ()
 
 testThemeTableResponsivePriority ()
 
 testThemeTableHeaderRenderArray ()
 
 testThemeTableRowRenderArray ()
 
 testThemeTableTitle ()
 

Static Public Attributes

static $modules = ['system', 'form_test']
 

Protected Member Functions

 setUp ()
 

Detailed Description

Tests built-in table theme functions.

Theme

Member Function Documentation

setUp ( )
protected

{}

References Drupal\service().

Here is the call graph for this function:

testThemeTableFooter ( )

Test that the 'footer' option works correctly.

testThemeTableHeaderCellOption ( )

Tests that the 'header' option in cells works correctly.

testThemeTableHeaderRenderArray ( )

Tests header elements with a mix of string and render array values.

testThemeTableNoStickyHeaders ( )

If $sticky is FALSE, no tableheader.js should be included.

testThemeTableNotResponsiveHeaders ( )

Tests that the 'responsive-table' class is not applied without headers.

testThemeTableNotResponsiveProperty ( )

Tests that 'responsive-table' class only applied when responsive is TRUE.

testThemeTableResponsive ( )

Tests that the 'responsive-table' class is applied correctly.

testThemeTableResponsivePriority ( )

Tests 'priority-medium' and 'priority-low' classes.

References RESPONSIVE_PRIORITY_LOW, and RESPONSIVE_PRIORITY_MEDIUM.

testThemeTableRowRenderArray ( )

Tests row elements with a mix of string and render array values.

testThemeTableStickyHeaders ( )

Tableheader.js provides 'sticky' table headers, and is included by default.

testThemeTableTitle ( )

Tests that the select/checkbox label is being generated and escaped.

References Drupal\formBuilder().

Here is the call graph for this function:

testThemeTableWithEmptyMessage ( )

Tests that the table header is printed correctly even if there are no rows, and that the empty text is displayed correctly.

References Drupal\config(), and Drupal\service().

Here is the call graph for this function:

testThemeTableWithNoStriping ( )

Tests that the 'no_striping' option works correctly.


The documentation for this class was generated from the following file: