public function SensorConfigInterface::getPlugin in Monitoring 8
Gets the sensor plugin.
Return value
\Drupal\monitoring\SensorPlugin\SensorPluginInterface Instantiated sensor.
1 method overrides SensorConfigInterface::getPlugin()
- SensorConfig::getPlugin in src/
Entity/ SensorConfig.php - Gets the sensor plugin.
File
- src/
SensorConfigInterface.php, line 47 - Contains \Drupal\monitoring\SensorConfigInterface.
Class
Namespace
Drupal\monitoringCode
public function getPlugin();