When we created the config object we needed a method to remove a single value from within the file. Instead of using delete like Drupal had, we had to choose another word because $config->delete() will delete the entire configuration file. We chose the word clear which isn't intuitive, and sends people to the API docs to figure out what it will do.
Is it worthwhile to change this to 'remove' or is it not worth the cost of change?
Recent comments
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists