On Github luisrc7 / dclimerick16
I am a Developer at iterate.
Contact Me:
Presentation Slides:
At iterate we design and develop Digital Experiences.
Our key focus areas are User Experience Design and Drupal.
Contact us at hello@iterate.ie or @iterate.
What is configuration
What is NOT configuration
Any configuration change will be saved into the database
But there were some workarounds.
Configuration Management will save Website configuration into files
CM has an interface to import/export configuration
CM uses Yaml files
Yaml files are structured files, like XML format. YAML = Yet Another Markup Language.Yaml files from Standard Profile installation
The CMI (Configuration Manager Initiative) was the first initiative for Drupal 8 back in 2012
The UI allows Export/Import the whole site configuration
And allows you to Export/Import single configuration files
Also has a form interface to upload the code for the new configuration through the UI
We will cover all these topics and example in the Demo.CM manage dependencies
All dependencies get deleted
This allow the UI to give better information
CM manage dependencies different types. Delete CT will delete a view for example. Cool because don't leave anything that is now working on your installation.It's possible in custom modules
But configuration files get imported just one time
To solve this issue there is "config_update" module
config_update Allows you to update configuration of your custom modules.Then, does Features exists in Drupal 8?
Yes
Features is focused on its original purpose
Pack configuration together to share on different websites
Features will sit under the CM path
Question the audience why Features is still available in D8.To avoid possible issues
Configuration still need to be imported
Configuration needs to be in the database at run time
Won't solve issues like complicated dependencies or 2 people working on the same configuration
Drush option --partialSince Drush 8.x version
drush config-export
drush config-import
config-export: Export configuration to a directory. config-import: Import config from a config directory.--push | --add | --commit
--destination | --source
--partial
--push: commit and push the config export. --commit or --add --destination/source: Saves/Load the config in a given path. --partial: Only updates and new configs will be processed. (only for import)