function openlayers_maps_ui::list_table_header in Openlayers 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
- modules/
openlayers_ui/ plugins/ export_ui/ openlayers_maps_ui.class.php, line 683
Class
- openlayers_maps_ui
- @file
Code
function list_table_header() {
$header = array();
if (!empty($this->plugin['export']['admin_title'])) {
$header[] = array(
'data' => t('Name'),
'class' => array(
'ctools-export-ui-name',
),
);
}
$header[] = array(
'data' => t('Title'),
'class' => array(
'ctools-export-ui-title',
),
);
$header[] = array(
'data' => t('Layers'),
'class' => array(
'ctools-export-ui-layers',
),
);
$header[] = array(
'data' => t('Description'),
'class' => array(
'ctools-export-ui-description',
),
);
$header[] = array(
'data' => t('Storage'),
'class' => array(
'ctools-export-ui-storage',
),
);
$header[] = array(
'data' => t('Operations'),
'class' => array(
'ctools-export-ui-operations',
),
);
return $header;
}