You are here

function oembed_preset_ui::list_table_header in oEmbed 6.0

Provide the table header.

Overrides ctools_export_ui::list_table_header

File

plugins/export_ui/oembed_preset_ui.class.php, line 109

Class

oembed_preset_ui

Code

function list_table_header() {
  $header = array();
  if (!empty($this->plugin['export']['admin_title'])) {
    $header[] = array(
      'data' => t('Title'),
      'class' => 'ctools-export-ui-title',
    );
  }
  $header[] = array(
    'data' => t('Name'),
    'class' => 'ctools-export-ui-name',
  );
  $header[] = array(
    'data' => t('Width'),
    'class' => 'oembedcore-preset-width',
  );
  $header[] = array(
    'data' => t('Height'),
    'class' => 'oembedcore-preset-height',
  );
  $header[] = array(
    'data' => t('Storage'),
    'class' => 'ctools-export-ui-storage',
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => 'ctools-export-ui-operations',
  );
  return $header;
}