public function LogViewsData::getViewsData in Log entity 2.x
Same name and namespace in other branches
- 8 src/LogViewsData.php \Drupal\log\LogViewsData::getViewsData()
File
- src/
LogViewsData.php, line 15
Class
- LogViewsData
- Provides views data for the file entity type.
Namespace
Drupal\logCode
public function getViewsData() {
$data = parent::getViewsData();
$data['log_field_data']['timestamp']['sort']['id'] = 'log_standard';
$data['log_field_data']['timestamp']['field']['id'] = 'log_field';
return $data;
}