protected function Hits::_getHeader in Visitors 8.2
Returns a table header configuration.
Return value
array A render array representing the table header info.
1 call to Hits::_getHeader()
- Hits::display in src/
Controller/ Report/ Hits.php - Returns a hits page.
File
- src/
Controller/ Report/ Hits.php, line 86 - Contains Drupal\visitors\Controller\Report\Hits.
Class
Namespace
Drupal\visitors\Controller\ReportCode
protected function _getHeader() {
return array(
'#' => array(
'data' => t('#'),
),
'visitors_id' => array(
'data' => t('ID'),
'field' => 'visitors_id',
'specifier' => 'visitors_id',
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
'sort' => 'desc',
),
'visitors_date_time' => array(
'data' => t('Date'),
'field' => 'visitors_date_time',
'specifier' => 'visitors_date_time',
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
),
'visitors_url' => array(
'data' => t('URL'),
'field' => 'visitors_url',
'specifier' => 'visitors_url',
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
),
'u.name' => array(
'data' => t('User'),
'field' => 'u.name',
'specifier' => 'u.name',
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
),
'' => array(
'data' => t('Operations'),
),
);
}