You are here

function panels_layouts_ui::list_table_header in Panels 7.3

Same name and namespace in other branches
  1. 6.3 plugins/export_ui/panels_layouts_ui.class.php \panels_layouts_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/panels_layouts_ui.class.php, line 242
Contains the administrative UI for reusable layouts.

Class

panels_layouts_ui
@file Contains the administrative UI for reusable layouts.

Code

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