You are here

protected function DatabaseAggregatorSensorPluginBase::getTimeIntervalField in Monitoring 8

Gets the time field.

Return value

string Time interval field.

8 calls to DatabaseAggregatorSensorPluginBase::getTimeIntervalField()
ContentEntityAggregatorSensorPlugin::getEntityQuery in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Builds the entity query for verbose output.
ContentEntityAggregatorSensorPlugin::getEntityQueryAggregate in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Builds the entity aggregate query.
ContentEntityAggregatorSensorPlugin::verboseResultUnaggregated in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Adds unaggregated verbose output to the render array $output.
DatabaseAggregatorSensorPlugin::getAggregateQuery in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Builds simple aggregate query over one db table.
DatabaseAggregatorSensorPlugin::getHistoryQuery in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Builds history query over one db table.

... See full list

File

src/SensorPlugin/DatabaseAggregatorSensorPluginBase.php, line 59
Contains \Drupal\monitoring\SensorPlugin\DatabaseAggregatorSensorPluginBase.

Class

DatabaseAggregatorSensorPluginBase
Base class for database aggregator sensors.

Namespace

Drupal\monitoring\SensorPlugin

Code

protected function getTimeIntervalField() {
  return $this->sensorConfig
    ->getSetting('time_interval_field');
}