Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the feature creation page, it would be easier to find the variables if they were classified by module.
I know it is not easy to know which module owns a variable, but almost all variables have the form moduleName_variableName. It is possible to classify them by three groups:
- Drupal default variables.
- Prefixed variables ordered by module.
- Other variables.
Comments
Comment #1
kmajzlik CreditAttribution: kmajzlik commentedI think that better to do should be: ajax filter + multiple select. I would like to have them both.
Why?
I have many content types in my application. I want to export my content type. There are many variables related to content types. If i just can type [content-type-name] into filter and see all variables containing that string:
ant_[content-type]
additional_settings__active_tab_[content-type]
ant_pattern_[content-type]
ant_php_[content-type]
comment_anonymous_[content-type]
comment_default_mode_[content-type]
comment_preview_[content-type]
language_content_type_[content-type]
menu_options_[content-type]
unique_field_comp_[content-type]
unique_field_scope_[content-type]
etc.
maybe some of them are supported out of box by features but not really all.
Comment #2
Simon Georges CreditAttribution: Simon Georges commentedCore variables are supported out of the box. I suppose you could ask modules to implements some hooks to define their variables to Strongarm, but as there is no written rule regarding variable naming, you cannot make assumptions like that, so I'm not sure it's possible, unless forcing a dependency on the Variable module.