CMI in Drupal8

507 views
421 views

Published on

The cmidemo module for Configuration Management Initiative in Drupal 8

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
507
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

CMI in Drupal8

  1. 1. CMI (Configuration Management Initiative) in Drupal 8 Nguyen Tien Si
  2. 2. Agenda • • • • Drupal 7 CMI in Drupal 8 Demo Question?
  3. 3. Drupal 7 • Have many way to save configuration – Variable table – Own module table • Deploy from Dev to Pro, includes: – Update_N() hook – Features module – Ctools exportable –…
  4. 4. CMI in Drupal 8 Source: drupalwatchdog.com
  5. 5. CMI in Drupal 8 Exporting the configuration to the file system as YAML file Ex: core/modules/image/config/image.style.large.yml
  6. 6. CMI in Drupal 8 Drupal installation two directories will be created: • active: This stores your currently live configuration. • staging: This stores configuration that is ready to be imported. Ex: sites/default/files/config_0uja8Kt-jH9Pcvu9AGznoQp6FmFs1hVB6APfJMKLcMg active:
  7. 7. CMI in Drupal 8 API
  8. 8. CMI in Drupal 8 Import/Export to deploy
  9. 9. CMI in Drupal 8 Import/Export to deploy
  10. 10. CMI in Drupal 8 Import/Export to deploy
  11. 11. CMI in Drupal 8 Import/Export to deploy
  12. 12. CMI in Drupal 8 Import/Export do deploy
  13. 13. CMI in Drupal 8 Import/Export to deploy
  14. 14. Demo Source: https://github.com/mrsinguyen/cmidemo Download: https://github.com/mrsinguyen/cmidemo/archive/8. x-1.x.zip
  15. 15. References • http://drupal8cmi.org • https://drupal.org/node/1667894
  16. 16. Question? Any question?

×