You are here

protected function DaysOfMonth::_getHeader in Visitors 8.2

Returns a table header configuration.

Return value

array A render array representing the table header info.

1 call to DaysOfMonth::_getHeader()
DaysOfMonth::display in src/Controller/Report/DaysOfMonth.php
Returns a days of month page.

File

src/Controller/Report/DaysOfMonth.php, line 101
Contains Drupal\visitors\Controller\Report\DaysOfMonth.

Class

DaysOfMonth

Namespace

Drupal\visitors\Controller\Report

Code

protected function _getHeader() {
  return array(
    '#' => array(
      'data' => t('#'),
    ),
    'day' => array(
      'data' => t('Day'),
      'field' => 'day',
      'specifier' => 'day',
      'class' => array(
        RESPONSIVE_PRIORITY_LOW,
      ),
      'sort' => 'asc',
    ),
    'count' => array(
      'data' => t('Pages'),
      'field' => 'count',
      'specifier' => 'count',
      'class' => array(
        RESPONSIVE_PRIORITY_LOW,
      ),
    ),
  );
}