We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [features]

Use it for questions about the module used by site developers to export elements of a site configuration to use them in another site.

Filter by
Sorted by
Tagged with
0
votes
1answer
39 views

Ignore UUIDs when comparing the difference between configuration exports

When building Features, i find it useful to keep a 'backup' of the full configuration and commit it to version control. If something breaks when i package a feature after i test how it works by doing ...
0
votes
0answers
13 views

Export Text Format and CKEditor Profile with Features

First, this is not a duplicate of this, because I can't even get that far. The OP was able to put their CKEditor profiles into a Features module with all of the settings are stored in the Features ...
1
vote
1answer
22 views

Is it necessary to export features with a version number?

By default, modules generated with features are created with a version string in the *.info file. I think the convention is to increase this version number when the feature changes. In a distributed ...
0
votes
0answers
9 views

updating the contents by using module “scheduler”

I have a problem with updating the contents by using module "scheduler". When updating the current contents and set the publish schedule,but the updated contents are published at once. It looks doesn'...
0
votes
1answer
50 views

Drush Feature Update removing t() and l() function usages

I have a feature that currently has things like this: 'body' => '<h3>' . t('Welcome back') . '<span class="fname">%user:field_first_name</span>!</h3>', However, using ...
1
vote
1answer
51 views

Is there a downside of having too many features?

I have worked on or seen different D7 projects in the past, with different strategies for features: One feature per view, content type, etc, with a consistent naming pattern. The result is many ...
0
votes
2answers
42 views

Available node language only English

I have a custom content type with "Set custom language as default for new content" and "Require language". Custom default language is Current language. Entity translation is defined with "Current ...
0
votes
1answer
34 views

Track field dependency with features

I modified a field dependency on my Call content type. Features did not track the change automatically. I cannot figure out how to manually add it to features.
0
votes
1answer
24 views

Features 8.x-3.7 not writable on Window's Ubuntu

8x-3.7 features, most stable version, but I am having trouble writing to custom module on the UI. My structure is as follow: -modules/ contrib/ features/ custom/ news_blogs/ ...
0
votes
0answers
12 views

can features module provide fields to an entity created by a different module?

A contrib module provides an entity and some default fields in its contribmodulename.install file. In the UI we have added fields to that entity. It appears like these fields, both $field_bases and $...
2
votes
2answers
299 views

Listing variable values using drush

I would like to list the values of certain variables using Drush in order to make sure they are in fact the variables that I intend to add to my feature. It seems that some variables are parents which ...
0
votes
1answer
75 views

Export node display with Features not taking in account format of fields

I'm trying to export a node display with features and I already created the feature with the display and imported it to another site. The problem is that the display has some differences, mainly in ...
0
votes
1answer
29 views

After rearranging field order in a view, how do I export this modification in features?

I am using drupal 7, I rearranged the order of the fields in a view, using the contextual menu link 'raerrange' (see image). But now I am not able to export this modification into the feature related ...
0
votes
1answer
122 views

Bundle field validation with Feature in Drupal 8

How can I have the field validation settings (via the field validation module) bundle with the content type using Features module? eg: I have a content type Post and a field validation that says post'...
0
votes
1answer
176 views

Features along with configuration synchronization

I am planning to use features to bundle some of my specific works. Example: I want to bundle article content types along with its views, fields and related other stuffs. Can I just use features to ...
0
votes
1answer
440 views

What does it mean “Rebuilding” in a feature? Can it be resolved?

I did some changes in my local environment, then I updated the 'feature'. When I try to deploy the change to another environment, but before I can start the 'revert' operation, some parts of the ...
0
votes
1answer
25 views

Problem with i18n_string + features + sites with different default language

(I will talk about i18nviews in this question, but I think the problem applies equally to other cases of i18n_string) Background With regular Drupal t(), Drupal will always assume that the original ...
2
votes
1answer
2k views

How to export paragraph bundles with features?

According to paragraphs documentation, it's should be possible to export paragraph bundles with features module, but whatever I search, I can't find any option in the features component section for ...
0
votes
2answers
368 views

Recommended way to clone functionality to create a site in Drupal 8

I have a Drupal 8 installation with different content types, paragraphs defined, views and taxonomy vocabularies. Ideally I wanted to be able to export some of these features and import them in ...
0
votes
2answers
41 views

Remove Workflow from Features

I'm trying to remove a Workflow instance from a Feature. But every time I uncheck the workflow and recreate the feature, the workflow gets deleted. Now I know that with Views, Panels and other ...
1
vote
1answer
277 views

Exporting menu along with code

I am new to Drupal 8, been developing only with D7 until now and I have a question regarding menus. I need to create this basic main menu for the page, but I am not sure how to export it and send to ...
-1
votes
1answer
57 views

How to prevent users from updating “featurized” settings via the GUI?

We have some configuration pages where it is useful for privileged users to be able to see settings that have been exported as part of a feature, but there is no indication on the admin page that ...
0
votes
0answers
24 views

How to provide default panels pages via features, but allow overrides?

I'm working on a D7 distribution and I'd like to provide panels pages for some things like node views. I can do this with Features. But I also want the end user of the site to be able to modify the ...
0
votes
1answer
225 views

Exporting a feature to a specific directory using drush

I am creating a new feature using drush. I looked up the component I want to create the feature with. When I run the command drush fe my_feature views_view:my_cool_view, drush wants to put it in sites/...
0
votes
1answer
196 views

How to use the Features API to enable a feature?

So I looked at the features API, and in order to enable a feature, they use this code: function hook_pre_features_enable_feature($component){ }; So I go in and add this: function ...
1
vote
1answer
1k views

How do I import using features?

I have a drupal site and I exported a Drupal feature and got a download file. Now I want to import that file to another drupal site, but there is no import function, so how do I add it?
-1
votes
1answer
16 views

Recreating Feature generates no text-format related code

My D7/Panopoly site has 3 text formats: plain_text, panopoly_html_text and panopoly_wysiwyg_text. I added Pathologic to the filter list for all text formats; I now need to to capture this to code. If ...
0
votes
1answer
43 views

How to export a Field's Allowed Value List in a feature?

I've made a drop-down list type Field and have exported it as part of a Feature. However, whilst every other facet of the Field (Name, Help text, etc) is successfully exported the actual Allowed ...
0
votes
1answer
50 views

How to re-order a mini-panel in a Panel generated page?

I've inherited a site and have been slowly unraveling certain aspects of its construction. Specifically right now, I want to change the order/region a page is loading a mini-panel in a page that I ...
0
votes
0answers
55 views

What does “storage” mean in relation to Mini Panels?

I am working on a site that uses Mini Panels. In the Mini Panels List I see a column called "STORAGE". The column contains the values, overridden, default, and normal (which is the storage for a ...
1
vote
1answer
458 views

Difference between strongarm, field base, and field instance

What is the difference between the following options when using features? What is each of them for and an example of why each would be used. strongarm field base field instance To make things even ...
0
votes
1answer
137 views

How can I programmatically set the default export path?

In Drupal 7, you can set the default export path for the features module by setting the variable 'features_default_export_path': variable_set('features_default_export_path', 'sites/all/modules/custom/...
1
vote
1answer
2k views

The “X” plugin does not exist

I've exported features in a multisite setup in site A, which I now want to import into site B. Though, I keep getting errors like: The "entity_embed" plugin does not exist The "bef" plugin does not ...
0
votes
1answer
34 views

How to “featurize” customizations to Answers module (or a content type that is part of a module)

I'm implementing a discussion feature using the Answers module. I want to create a feature for all the customizations so I can implement and deploy using the git process. The views and content types ...
0
votes
1answer
23 views

Where are features displayed after they are created?

I just created a feature on one site for copying to another and on the site I created the feature it doesn't appear in the list of features, and I am sure I didn't delete it. When features are ...
0
votes
1answer
40 views

How can I tell which Feature something belongs to?

I am working on a site that has maybe 100 different Features. I am editing a block, which I assume is attached to a Feature. Without looking through each Feature individually, how can I tell which ...
0
votes
1answer
193 views

How to auto-yes “drush features-revert-all” … via terminus

On a local machine drush features-revert-all will convert all features to codebase definition. On a local machine ... drush -y will auto-yes any command. On a local machine terminus -y command ...
2
votes
2answers
58 views

Any risks associated with habitually updating/reverting ALL features in drush?

I want to start using drush commands to simply update all or revert all features (depending on which environment I'm in) instead of doing them one by one. What are the risks involved or questions I ...
1
vote
1answer
394 views

Taxonomy Terms List and Features

I noticed that, while I am able to build taxonomy into my feature, it doesn't seem to include the list of terms within the taxonomy. When I go to create a feature, the uuid_term section does list a ...
0
votes
1answer
57 views

Featurize user roles and permissions can't update

I have added user roles and permissions to feature which I use to featurize general site configurations and theme settings. In the past I believe this worked just fine, however, with my latest push ...
0
votes
1answer
50 views

Feature revert deletes existing Strongarm variable

I got a Drupal 7 feature, which contains certain Strongarm variables, such as admin_theme. This feature has been created, released and reverted multiple times, always without fault. Suddenly, the last ...
0
votes
1answer
77 views

PDOException: SQLSTATE[42S22] When adding quiz content

I am trying to implement the quiz module on a new website and it's throwing the following error when attempting to add content > quiz. I believe the code I have was part of a feature I was trying to ...
4
votes
2answers
713 views

Cannot import Paragraph based Feature into new site

Perhaps someone with a bit more Features expertise can help me here. I have a Drupal site with 25 or so Paragraph types that I would like to export (one by one) to its own contained Feature. I ...
5
votes
1answer
74 views

Should I enable a feature I created on the same site?

I created a view and some configurations and used features to save it into code. When doing so, I used the GUI interface and selected Advanced Features and named a file path (sites/all/modules/custom) ...
0
votes
1answer
156 views

I've Featured some Paragraph Bundles, but they are not showing up on the remote site

I've Featured some Paragraph bundles and have included them as part of a module. I've merged these files to my remote site and want to 'activate' the Feature to have the Paragraph Bundles appear. I ...
0
votes
0answers
245 views

Fatal error: Call to undefined function title_taxonomy_allowed_values()

I am attempting to incorporate a feature I created which uses a content type and taxonomy terms, among other things. I had to re-add the taxonomy terms for the vocabulary which was included in the ...
0
votes
1answer
48 views

What do I do after I merge feature files with a remote server?

I'm having real trouble getting my head around the Features module. Would someone be able to help me understand it a little better? Perhaps describe it in laymans terms? Here's the scenario I am ...
1
vote
0answers
37 views

Can I migrate Drupal 6 to 7 by using Features 7 to import Features 6 code?

I am attempting to migrate Drupal 6 to Drupal 7 using the migrate_d2d_ui module, but the cck fields are not coming over correctly. Can I use the Drupal 6 Features module to generate code which can ...
1
vote
2answers
90 views

How do I resolve a merge conflict with features? [closed]

This might seem basic, but I am new to Drupal (and, to and extent, git). I've made some changes to a Feature and downloaded its files to be pushed up to the remote server with git. However, I get the ...
1
vote
0answers
47 views

Features module import error

I have a bit complex work on Drupal 8 site, exporting everything via Features I created groups using the Group module. I also have a content type installed as plugin-a group content to the group ...