protected function Hours::_getHeader in Visitors 8.2
Returns a table header configuration.
Return value
array A render array representing the table header info.
1 call to Hours::_getHeader()
- Hours::display in src/
Controller/ Report/ Hours.php - Returns a hours page.
File
- src/
Controller/ Report/ Hours.php, line 101 - Contains Drupal\visitors\Controller\Report\Hours.
Class
Namespace
Drupal\visitors\Controller\ReportCode
protected function _getHeader() {
return array(
'#' => array(
'data' => t('#'),
),
'hour' => array(
'data' => t('Hour'),
'field' => 'hour',
'specifier' => 'hour',
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
'sort' => 'asc',
),
'count' => array(
'data' => t('Pages'),
'field' => 'count',
'specifier' => 'count',
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
),
);
}