コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function getValue()
 {
     $plugin_instance = $this->parent->getContainedPluginInstance();
     if ($plugin_instance) {
         return $plugin_instance->getPluginId();
     }
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function getValue()
 {
     $plugin_instance = $this->parent->getContainedPluginInstance();
     if ($plugin_instance instanceof ConfigurablePluginInterface) {
         return $plugin_instance->getConfiguration();
     }
     return [];
 }