You are here

public function linkit_profiles_ui::list_table_header in Linkit 7.2

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/linkit_profiles_ui.class.php, line 12
Class that extends the regular ctools export ui.

Class

linkit_profiles_ui
Base class for export UI.

Code

public function list_table_header() {
  $header = array();
  $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('Storage'),
    'class' => array(
      'ctools-export-ui-storage',
    ),
  );
  $header[] = array(
    'data' => t('Roles'),
    'class' => array(
      'ctools-export-ui-roles',
    ),
  );
  $header[] = array(
    'data' => t('Weight'),
    'class' => array(
      'ctools-export-ui-weight',
    ),
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => array(
      'ctools-export-ui-operations',
    ),
  );
  return $header;
}