Constructs a Plugin object.
Overrides PluginBase::__construct
public function __construct(array $configuration, $plugin_id, DiscoveryInterface $discovery) {
parent::__construct($configuration, $plugin_id, $discovery);
$this->definition = $this->discovery
->getDefinition($plugin_id) + $configuration;
}