Successfully reported this slideshow.
Your SlideShare is downloading. ×

Features module in drupal 8

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Sitebuildingdrupal 8
Sitebuildingdrupal 8
Loading in …3
×

Check these out next

1 of 10 Ad

Features module in drupal 8

Download to read offline

In Drupal 8, Features module allows the capture and management of features. Features is used to export Configuration part of DB, which is consisting of Content types, Views, Fields, Site info.

In Drupal 8, Features module allows the capture and management of features. Features is used to export Configuration part of DB, which is consisting of Content types, Views, Fields, Site info.

Advertisement
Advertisement

More Related Content

Similar to Features module in drupal 8 (20)

Advertisement

More from valuebound (20)

Recently uploaded (20)

Advertisement

Features module in drupal 8

  1. 1. Features Module in Drupal 8 Implementing features in Drupal 8 Ritesh Manek Drupal.org profile https://www.drupal.org/u/ritzz
  2. 2. Drupal DB consists of: ● Content: Users, Comments, Articles, Pages ● Configuration: Content types, Views, Fields, Site info Features is used to export Configuration part of DB and it does by converting configuration into code. Why features?
  3. 3. Why features is good? ● Reusable Modules ● Version Control
  4. 4. Features vs D8 CMI CMI ● Exports config into code ● Allows version control ● Allows deployment ● NA Features ● Exports config into code ● Allows version control ● Allows deployment ● Re-use bundled functionality
  5. 5. Feature !=CMI Bundle Functionality into re-usable modules
  6. 6. What is wrong with CMI!! Exporting Photo gallery with CMI ● Copy/paste content-type.yml ● Copy/paste my-fields-storage.yml ● Copy/paste view.yml ● Copy/paste image-style.yml Are there any more dependencies??? How would you know???
  7. 7. Key Features of Features!!! ● Import, Export detect changes ● Assignments plugins for auto packaging ● Bundles (namespace) ● Drush 7 support ● Modular UI ● Features Module is not needed on every stance
  8. 8. Drush Commands ● drush fl: list ● drush fd: difference ● drush fex: export ● drush fim: import ● drush fr: revert ● drush fu: update
  9. 9. How to decide what to use?? ● If you simply need to export and deploy simple site configuration, the D8 configuration management system should be used instead of Features. ● You will use Features in D8 to export bundled functionality (like a "photo gallery feature, A blog or pressroom").
  10. 10. Thank you!!!

×