You are here

function override_css_ui::list_table_header in Override css 7

Provide the table header.

If you've added columns via list_build_row() but are still using a table, override this method to set up the table header.

Overrides ctools_export_ui::list_table_header

File

plugins/export_ui/override_css_ui.class.php, line 69

Class

override_css_ui
@file

Code

function list_table_header() {
  $header = array();
  if (variable_get('override_css_bundle_enabled', FALSE)) {
    $header[] = array(
      'data' => t('Bundle'),
      'class' => array(
        'ctools-export-ui-bundle',
      ),
    );
  }
  if (!empty($this->plugin['export']['admin_title'])) {
    $header[] = array(
      'data' => t('Title'),
      'class' => array(
        'ctools-export-ui-title',
      ),
    );
  }
  $header[] = array(
    'data' => t('Name'),
    'class' => array(
      'ctools-export-ui-name',
    ),
  );
  $header[] = array(
    'data' => t('Selectors'),
    'class' => array(
      'ctools-export-ui-selectors',
    ),
  );
  $header[] = array(
    'data' => t('Properties'),
    'class' => array(
      'ctools-export-ui-properties',
    ),
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => array(
      'ctools-export-ui-operations',
    ),
  );
  return $header;
}