why getEditableConfigNames

Mutable or Immutable has nothing to do with config schema, that's something else.

getEditableConfigNames() only works if you actually implement \Drupal\Core\Form\ConfigFormBase and $this->config().

Otherwise you need to explicitly get the config.factory service or \Drupal::configFactory() and then call getEditable() on that, instead of get().

--
https://drupal.stackexchange.com/questions/233361/creating-config-schema-file-for-mutable-data

你可能感兴趣的:(why getEditableConfigNames)