/**
  * {@inheritdoc}
  *
  * This is a decorated resource, set proxy the request until you reach the
  * annotated resource.
  */
 public function setPluginDefinition(array $plugin_definition)
 {
     $this->subject->setPluginDefinition($plugin_definition);
     if (!empty($plugin_definition['dataProvider'])) {
         $this->getDataProvider()->addOptions($plugin_definition['dataProvider']);
     }
 }