コード例 #1
0
ファイル: FormElementBase.php プロジェクト: ddrozdik/dmaps
 /**
  * {@inheritdoc}
  */
 public function setConfig(Config $base_config, LanguageConfigOverride $config_translation, $config_values, $base_key = NULL)
 {
     // Save the configuration values, if they are different from the source
     // values in the base configuration. Otherwise remove the override.
     if ($base_config->get($base_key) !== $config_values) {
         $config_translation->set($base_key, $config_values);
     } else {
         $config_translation->clear($base_key);
     }
 }