public function SensorPluginInterface::getService in Monitoring 8
Gets service.
Parameters
string $id: Service name.
Return value
mixed
1 method overrides SensorPluginInterface::getService()
- SensorPluginBase::getService in src/
SensorPlugin/ SensorPluginBase.php - @todo: Replace with injection
File
- src/
SensorPlugin/ SensorPluginInterface.php, line 56 - Contains \Drupal\monitoring\SensorPlugin\SensorPluginInterface.
Class
- SensorPluginInterface
- Interface for a sensor plugin defining basic operations.
Namespace
Drupal\monitoring\SensorPluginCode
public function getService($id);