public function HitDetails::display in Visitors 8.2
Returns a hit details page.
Return value
array A render array representing the hit details page content.
1 string reference to 'HitDetails::display'
File
- src/
Controller/ Report/ HitDetails.php, line 49 - Contains Drupal\visitors\Controller\Report\HitDetails.
Class
Namespace
Drupal\visitors\Controller\ReportCode
public function display($hit_id) {
return array(
'visitors_table' => array(
'#type' => 'table',
'#rows' => $this
->_getData($hit_id),
),
);
}