You are here

function sharerich_set_ui::list_table_header in Sharerich 7.2

Same name and namespace in other branches
  1. 7.3 plugins/export_ui/sharerich_set_ui.class.php \sharerich_set_ui::list_table_header()

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/sharerich_set_ui.class.php, line 54
A custom Ctools Export UI class for Sharerich Sets.

Class

sharerich_set_ui
Customizations of the Sharerich UI.

Code

function list_table_header() {
  $header = array();
  $header[] = array(
    'data' => t('Button set'),
    'class' => array(
      'ctools-export-ui-name',
    ),
  );
  $header[] = array(
    'data' => t('Block'),
    'class' => array(
      'ctools-export-ui-block',
    ),
  );
  $header[] = array(
    'data' => t('Storage'),
    'class' => array(
      'ctools-export-ui-storage',
    ),
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => array(
      'ctools-export-ui-operations',
    ),
  );
  return $header;
}