/** * {@inheritdoc} */ public function getValue() { $plugin_instance = $this->parent->getContainedPluginInstance(); if ($plugin_instance) { return $plugin_instance->getPluginId(); } }
/** * {@inheritdoc} */ public function getValue() { $plugin_instance = $this->parent->getContainedPluginInstance(); if ($plugin_instance instanceof ConfigurablePluginInterface) { return $plugin_instance->getConfiguration(); } return []; }