You are here

protected function CleanerSettingsForm::themeTable in Cleaner 8.2

Same name and namespace in other branches
  1. 8 src/Form/CleanerSettingsForm.php \Drupal\cleaner\Form\CleanerSettingsForm::themeTable()

Render the table.

Parameters

array $rows: Table rows.

Return value

string Rendered HTML.

1 call to CleanerSettingsForm::themeTable()
CleanerSettingsForm::getCacheTablesTable in src/Form/CleanerSettingsForm.php
Get cache tables table.

File

src/Form/CleanerSettingsForm.php, line 170

Class

CleanerSettingsForm
Class CleanerSettingsForm.

Namespace

Drupal\cleaner\Form

Code

protected function themeTable($rows = []) {
  return $this->themeManager
    ->render('table', [
    'rows' => $rows,
    'attributes' => [
      'class' => [
        'cleaner-cache-tables',
      ],
    ],
  ]);
}