Creating a module with Drupal Composer asks me:
Define module as feature (yes/no)
What does it mean?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityCreating a module with Drupal Composer asks me:
Define module as feature (yes/no)
What does it mean?
That option will add some code to the generated module to make it a Feature module - a module that provides some exportable configuration.
More info: https://www.drupal.org/docs/8/modules/features/creating-and-configuring-bundles Source: https://github.com/hechoendrupal/drupal-console/blob/master/src/Generator/ModuleGenerator.php#L94
It just adds a file with the name of the feature bundle, and the feature bundle is nothing but a way to group features.
With this file your module will appear on the features list.