You are here

public function SensorPluginBase::getPluginDefinition in Monitoring 8

Gets the definition of the plugin implementation.

Return value

array The plugin definition, as returned by the discovery object used by the plugin manager.

Overrides PluginInspectionInterface::getPluginDefinition

File

src/SensorPlugin/SensorPluginBase.php, line 126
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 getPluginDefinition() {
  return $this->pluginDefinition;
}