The Features module is primarily for use by site developers to export elements of a site configuration for use in another site.

learn more… | top users | synonyms

-1
votes
1answer
14 views

Features doesn't recognize my drupal version

I looked in Status report: Drupal 7.41 I get this error: Please enter a valid version with core and major version number. Example: 7.x-1.0 I've tried all sorts of combinations but nothing works, ...
0
votes
1answer
25 views

How can I use configuration management to “snapshot” config on my dev server while I try new things out?

I was a heavy Features module user in Drupal 7 so I'm trying to use Configuration Management in Drupal 8 to recreate my old workflow. In Drupal 7, when I wanted to try making changes, I would: Add ...
0
votes
1answer
15 views

How does Drupal handle update of multiple module bundles of features without breaking stuff?

Let's say I have modules A, B and C. I create a feature and it makes them into a single module. Then one day, an update makes A, B and C not compatible, or maybe one deprecated or something. Then ...
1
vote
1answer
8 views

What are the nfs values seen in the Strongarm seciton of features

When preparing a feature I see that there are a number of values beginning nfs_ in the Strongarm section. What are these nfs_ values and do I need them in my feature?
0
votes
1answer
16 views

Why isn't my feature overridden after I change a rule in it?

I've exported a feature that contains a rule — // my_feature.info features[rules_config][] = rules_my_rule // my_feature.rules_defaults.inc $items['rules_my_rule'] = entity_import('rules_config', '{ ...
0
votes
0answers
5 views

Modified blog content type not showing up in the Features create components column

This is my first time creating a Feature using the Features module. I’ve modified the Blog content type by adding two additional fields, subtitle and image. I also checked the Features option on the ...
0
votes
0answers
13 views

How to keep the data created by a feature after deleting the feature itself?

How to keep the data created by a feature after deleting the feature itself? One possible solution is to "comment out all dependencies from your features .info file and then save the .info file then ...
0
votes
0answers
26 views

Is there way to export block layout settings?

I created a custom theme and I was wondering if there is way to export my block layout settings (location and order of each block). This way will be easier to apply my theme in a different site. I'm ...
0
votes
2answers
39 views

Does disabling a views features module remove the view from the DB

Inherited a site with 3 features modules, one is just a collection of views. i disabled it in the features interface. expecting it to disable all the views that were defined in that features module. ...
1
vote
0answers
20 views

how to add new changes to live site without redoing everything

I have a site which is running on a huge userbase. The site is about taking online courses and getting certificates. I am using profile2 which adds some extra fields in user profiles. Also i am ...
0
votes
1answer
32 views

What is the best way to import new changes from dev to live site using feature module

I have a live site and I have done many new changes on the dev site already. I would drop the database on live and import the dev DB into it but there are users on live site. I came across ...
3
votes
2answers
29 views

How to re-create content types using the feature module which removes deleted fields?

I've been looking into the Feature module to move changes from Dev to Staging without redoing everything. On my Dev site I made changes in the content types (added new fields, deleted some field). ...
0
votes
0answers
25 views

After adding a new field to a feature, my dev site crashes

I added a new field (field_acc_guide) to my user accounts in a feature. Then, I reset my dev site by overwriting the database and files with those from production. However, this results in an error: ...
0
votes
3answers
22 views

How can I featurise / store changes to a view provided by a module?

In my case, Workbench and Workbench Moderation. Workbench Moderation gives me a "My Drafts" and "Needs review" view which I can edit to my taste, but I can't see a way of featurising the view or ...
0
votes
1answer
16 views

Some variables not listed when creating feature

I'm building a feature that includes modules settings stored as variables. Strongarm module is great for that but for some reason, pathauto_entity's module variable called ...
0
votes
1answer
20 views

How to disable a feature whose checkbox is grayed out?

I would like to disable some features, but they are grayed out. What does that mean? I assume some kind of dependency? (I am using Drupal Commons and would like to disable groups.)
0
votes
1answer
34 views

Programmatically re-order role weights?

I want control over the order in which roles' columns are displayed on the Permissions page.. I want to add code to my module installation file so that, after newly-configured roles' yaml settings ...
0
votes
1answer
30 views

Feature automatically reverts on cache clear

I have an issue with Features which contains a view. If I update the feature and then clear the Drupal cache, the view will revert to the configuration in the updated feature. My understanding was ...
0
votes
2answers
25 views

When do you and when don't you revert a feature?

That's basically the question. Or should I always include this hook_update_N() when ever I recreate/update a feature. function my_global_update_7001(&$sandbox) { $feature = ...
0
votes
0answers
11 views

Export Panel panes as features : changed order of panes?

We (my team) has had many issues when exporting/updating panels into feature modules. More precisely, we have differences between features exported via the UI and via drush. Let's say I have a ...
0
votes
0answers
13 views

Modify a feature without recreating it via Feature UI

I have a feature which contains dependencies on a number of modules. I want to remove the dependency on one particular module (Crazy Egg module). This feature also contains a default user_permission ...
1
vote
0answers
17 views

How to revert a feature in hook_update programatically? [duplicate]

I've created a feature to update a menu. Then in my deploy module, I did this: function phoenix_deploy_update_7106() { $feature_list = array( 'campus_dropdown', ); ...
0
votes
1answer
13 views

Features Revert or Update

Just to clarify some attributes about features. Revert will take what is in my code and add it to the database? Update will take what is in my database and change the code? What happens if I have ...
0
votes
0answers
25 views

How to change (via code) the Name and Description for a content type created by a contrib module

I'm wondering how we can change, via code, the Name and Description for a content type that is provided by a contrib module (in this case, the "User Alert" content type provided by the user_alert ...
0
votes
3answers
34 views

Exporting Panel setting to a Feature

Does anyone know how to add the Panels > Settings > General > 'Make all views available as panes' checkbox to a feature? I guessed the Strongarm box but I don't see the setting.
0
votes
0answers
18 views

Drupal 7 menu translation using feature

What I am trying to achieve is I have a drupal site which is basically in English & German. I have installed & enabled all the necessary modules for Translation, and my content is also ...
0
votes
0answers
12 views

How to interpret the components exposed by Facet API in Features?

I'm developing a website in Drupal 7 when there is a content type representing research papers that has, among other things, fields representing the author (different from the Drupal user), keywords, ...
0
votes
0answers
22 views

How can I disable all features without losing data created with it?

In my project I've used the Features module to deploy content types with its fields and field groups, image styles, views, panels, taxonomies. The project became very large and the features start to ...
0
votes
1answer
22 views

Overriding “/user” page with Feature (Drupal 7)

I am trying to learn about creating a reasonable workflow between a development site and a production site and I have decided to use the Features module to help accomplish this task. Standard "/user" ...
0
votes
0answers
21 views

Feature wont revert and it keeps being overridden

So issue is, field is saved in feature, but not showing on content type, and it keep saying overridden. Any ideas? I have created a computed field on a Basic Page content type, which is saved in a ...
0
votes
0answers
10 views

Unlocking depreciated fields that have been set by features?

I have a custom module where I have used features to bring in some required fields. The administrator of the site then told me I had to set these fields to locked before he would apply the module to ...
0
votes
0answers
7 views

Remove features views_view t() overrides

I have a feature which has the State "Overridden" On my stage server, drush fd myfeature gives me this: $ drush fd myfeature Legend: Code: drush features-revert will remove the overrides. ...
0
votes
1answer
15 views

How can I export the “Enable for OG Menus” content type option status in a feature?

How can I export the "Enable for OG Menus" content type option status in a feature? I have successfully exported several different OG content types into their own feature. All my settings have ...
0
votes
0answers
24 views

Automatically installing dependencies of an Installation Profile's dependencies

Another drush make / Installation Profile question, that I haven't seen addressed in any of the others. I have a file called starter.make. It downloads (from Bitbucket) a custom Installation Profile ...
0
votes
1answer
37 views

Merging multiple feature modules

It looks like I went a bit too overboard with number of features modules on my website (~50), but it really made initial development easy (for multiple people). Now the question is - what would be a ...
0
votes
1answer
43 views

How do I add a view with a module when installing a module?

In Drupal 8, I want a view to be created when a module is installed. I have already used the Features module to export the view, so I have the yml file that creates the view. I can't find what to ...
1
vote
0answers
24 views

How to restore missing field from feature?

I've not removed any tables from db, but when I was trying to edit user profile I've got error about missing field from profile2 entity: EntityMetadataWrapperException: Unknown data property ...
0
votes
0answers
12 views

Why can't I import nodes, which were exported via UUID Features?

As in question. I've enabled and configured UUID Features module. I've exported target content type too in the same feature. I'm seeing this nodes in my_feature.features.uuid_node.inc I've deleted ...
0
votes
0answers
25 views

What is the correct way to create a new profile2 entity and provide fields for that entity programmatically?

Using my module, I want to create a new profile2 profile. The hook obviously is hook_default_profile2_type. I created that profile in my custom module's .module file and it works as expected: ...
1
vote
1answer
24 views

make view modes for commerce enabled by default when exporting with features

I am trying to make the Drupal Commerce view modes administrator and checkout_pane enabled by default when I export with features. I have strongarm dependency required; but I do not see the view mode ...
0
votes
0answers
29 views

Why some features are overriden after installation

This is my hook_install: function moocollar_web_install() { // enable features $global_features = array ('display_modes_feature' , 'field_bases_feature' , 'image_styles_feature' , ...
1
vote
0answers
62 views

How to set (import) oembed's ctools exportable settings as defaults for the module programmatically?

Oembed provides defaults for some providers (e.g. youtube, twitter etc) out of the box. It also provides the ability to export each provider's settings through the UI. I have added a new URL pattern ...
1
vote
1answer
59 views

Why I cannot export vocabulary terms via Features?

Ok, I've installed features, uuid, uuid_features. According to docs vocab terms shouls be exported too when creating taxonomy feature. So I run a command: drush fe my_feature taxonomy:tags but ...
1
vote
1answer
35 views

How to migrate Drupal Commerce configuration between environments

I'd normally use features to migrate changes from a dev server to a live one, however it seems drupal commerce doesn't fully support features, which leaves me in a tight spot. How would you suggest ...
0
votes
2answers
13 views

How to track what has (or hasn't) been “featurized” in the UI?

On a sufficiently large or complex site that uses Features to export or manage configuration, it seems easy to encounter a scenario where an administrative user can inadvertently change a variable ...
0
votes
0answers
67 views

Changing fields type which are already on website

Here is my case. I've created a content type with few fields (all fields had type: 'text'). I've exported this content type using feature and then used feature on PROD website for few weeks. ...
0
votes
0answers
11 views

Drupal Features: how to add menu_link components to a module from drush?

On a fresh site, create a new menu item: "My menu item" as a child of "Main menu" that points to, for example, node/add/some_content_type Click on Features >> Create Feature via the GUI and look at ...
1
vote
1answer
25 views

Is it possible to use features or some other technique to compare two sites?

I have a virgin copy of Open Outreach running alongside a copy where I've made configuration changes such as site name and configurations of various modules. Is it possible to use Features or some ...
1
vote
1answer
41 views

How to export user's content via features to new site in Drupal 7

Can anyone tell me how to export contents of users through some contributed modules?? like features,because I have a site which has 100 users,all contents are migrating through features but user's ...
0
votes
1answer
66 views

Add signature to features

I love to work with features! I often work with several colleges on the same feature and I'ld like to add a signature to the features. So we can see who worked last on the feature (without having to ...