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