Constructs a Drupal\Component\Plugin\PluginBase object.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
DiscoveryInterface $discovery: The Discovery class that holds access to the plugin implementation definition.
public function __construct(array $configuration, $plugin_id, DiscoveryInterface $discovery) {
$this->configuration = $configuration;
$this->plugin_id = $plugin_id;
$this->discovery = $discovery;
}