public function gdpr_fields_ui::list_table_header in General Data Protection Regulation 7
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
1 call to gdpr_fields_ui::list_table_header()
- gdpr_fields_ui::list_render in modules/
gdpr_fields/ plugins/ export_ui/ gdpr_fields_ui.class.php - Render all of the rows together.
File
- modules/
gdpr_fields/ plugins/ export_ui/ gdpr_fields_ui.class.php, line 194 - Contains the CTools Export UI integration code.
Class
- gdpr_fields_ui
- CTools Export UI class handler for GDPR Fields UI.
Code
public function list_table_header() {
$header = array();
$header[] = array(
'data' => t('Label'),
'class' => array(
'ctools-export-ui-title',
),
);
$header[] = array(
'data' => t('Field type'),
'class' => array(
'ctools-export-ui-field-type',
),
);
$header[] = array(
'data' => t('Right to access'),
'class' => array(
'ctools-export-ui-rta',
),
);
$header[] = array(
'data' => t('Right to be forgotten'),
'class' => array(
'ctools-export-ui-rtf',
),
);
$header[] = array(
'data' => t('Operations'),
'class' => array(
'ctools-export-ui-operations',
),
);
return $header;
}