You are here

public function SensorPluginBase::validateConfigurationForm in Monitoring 8

Form validation handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::validateConfigurationForm

2 calls to SensorPluginBase::validateConfigurationForm()
ContentEntityAggregatorSensorPlugin::validateConfigurationForm in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Form validation handler.
DatabaseAggregatorSensorPlugin::validateConfigurationForm in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Form validation handler.
2 methods override SensorPluginBase::validateConfigurationForm()
ContentEntityAggregatorSensorPlugin::validateConfigurationForm in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Form validation handler.
DatabaseAggregatorSensorPlugin::validateConfigurationForm in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Form validation handler.

File

src/SensorPlugin/SensorPluginBase.php, line 158
Contains \Drupal\monitoring\SensorPlugin\SensorPluginBase.

Class

SensorPluginBase
Abstract SensorPluginInterface implementation with common behaviour and will be extended by sensor plugins.

Namespace

Drupal\monitoring\SensorPlugin

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {

  // Do nothing.
}