You are here

function ctools_custom_content_ui::list_table_header in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 ctools_custom_content/plugins/export_ui/ctools_custom_content_ui.class.php \ctools_custom_content_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

ctools_custom_content/plugins/export_ui/ctools_custom_content_ui.class.php, line 114

Class

ctools_custom_content_ui

Code

function list_table_header() {
  return array(
    array(
      'data' => t('Name'),
      'class' => 'ctools-export-ui-name',
    ),
    array(
      'data' => t('Title'),
      'class' => 'ctools-export-ui-title',
    ),
    array(
      'data' => t('Category'),
      'class' => 'ctools-export-ui-category',
    ),
    array(
      'data' => t('Operations'),
      'class' => 'ctools-export-ui-operations',
    ),
  );
}