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
1 vote
0 answers
62 views

How can I programmatically configure commerce checkout pane settings?

In Commerce, we have custom pane and checkout configuration that applies to all orders. Per this d.o issue in commerce_features, this is supposedly doable. However, Commerce's default configuration ...
blue928's user avatar
  • 3,804
1 vote
0 answers
90 views

Git branching strategies with a small team to develop a Drupal site

We're a small team (5-6 developers) building a Drupal 7 site. Previously, we've used Features (https://www.drupal.org/project/features) to export our configurations from development to production. We'...
Grayson Cooper's user avatar
1 vote
1 answer
109 views

How can I merge a content type's fields and settings from dev to staging?

I have an existing content type on staging. On dev we've added a ton of new fields and display and form setting changes, etc. It's not practical to go through the config files and find all of the many ...
quantumized's user avatar
  • 1,177
2 votes
3 answers
214 views

Exported feature with roles not imported when loading module

TLDR; I'd like to export the permissions I've added to the authenticated role, and have them appear on a different server when installing the custom module. However, when I install the module on a ...
quant's user avatar
  • 546
0 votes
0 answers
73 views

What does it take to convert a feature?

I am udating an existing website from Drupal 7 to 8. The original developer placed most of the theme/items into Module Features (like a front page slider). I have about 37 Features that I need to move ...
Hometoy's user avatar
  • 92
1 vote
1 answer
91 views

How can I remove Features modules from a site without affecting functionality?

I have inherited a site that makes heavy use of Features, and this constrains what I can do to permissions and creates dependencies that don't otherwise exist. Something as simple as turning off the ...
arnoldbird's user avatar
  • 1,079
0 votes
1 answer
45 views

In the Features module, what does "Recreate" do?

What does it mean to "recreate" a feature? How does this affect the database? How does it affect the files, if at all?
arnoldbird's user avatar
  • 1,079
0 votes
0 answers
716 views

Site crashes when deleting a field

Whenever I delete a field I get WSOD with following error: Drupal\Core\Field\FieldException: Attempt to create a configurable field of non-configurable field storage variations. in Drupal\field\...
liquidcms's user avatar
  • 1,224
3 votes
2 answers
601 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 ...
mlncn's user avatar
  • 1,442
1 vote
1 answer
27 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 ...
donquixote's user avatar
  • 3,622
0 votes
1 answer
53 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 ...
JorgeeFG's user avatar
  • 387
2 votes
1 answer
90 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 ...
donquixote's user avatar
  • 3,622
0 votes
2 answers
60 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 ...
abelass's user avatar
  • 69
0 votes
1 answer
69 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.
Brent Connor's user avatar
0 votes
1 answer
33 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/ ...
Armando Silva's user avatar
0 votes
0 answers
16 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 $...
alec's user avatar
  • 178
2 votes
2 answers
1k 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 ...
Christia's user avatar
  • 1,637
0 votes
1 answer
100 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 ...
Beto Aveiga's user avatar
0 votes
1 answer
37 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 ...
Katia 's user avatar
0 votes
1 answer
170 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'...
janechii's user avatar
0 votes
1 answer
225 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 ...
cissharp's user avatar
  • 539
0 votes
1 answer
668 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 ...
Cesar Moore's user avatar
  • 1,528
0 votes
1 answer
45 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 ...
donquixote's user avatar
  • 3,622
2 votes
1 answer
3k 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 ...
Mojtaba Reyhani's user avatar
0 votes
2 answers
570 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 ...
jmzea's user avatar
  • 952
0 votes
2 answers
83 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 ...
Quentin Campbell's user avatar
1 vote
1 answer
400 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 ...
Viktor's user avatar
  • 319
-1 votes
1 answer
59 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 ...
Matt V.'s user avatar
  • 2,994
0 votes
0 answers
25 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 ...
Brian's user avatar
  • 1,072
0 votes
1 answer
361 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/...
Christia's user avatar
  • 1,637
0 votes
1 answer
217 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 ...
Shawn's user avatar
  • 417
2 votes
1 answer
2k 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?
Shawn's user avatar
  • 417
-1 votes
1 answer
24 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 ...
UTAN_dev's user avatar
  • 151
0 votes
1 answer
54 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 ...
MeltingDog's user avatar
0 votes
1 answer
60 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 ...
Abernasty's user avatar
0 votes
0 answers
62 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 ...
splunge's user avatar
  • 85
1 vote
1 answer
655 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 ...
Christia's user avatar
  • 1,637
0 votes
1 answer
232 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/...
Ch4mb3rs's user avatar
1 vote
1 answer
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 ...
Ambidex's user avatar
  • 879
0 votes
1 answer
37 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 ...
Christia's user avatar
  • 1,637
0 votes
1 answer
24 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 ...
vfclists's user avatar
  • 1,269
0 votes
1 answer
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 ...
MeltingDog's user avatar
1 vote
1 answer
307 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 ...
user18099's user avatar
  • 284
2 votes
2 answers
63 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 ...
Christia's user avatar
  • 1,637
2 votes
1 answer
460 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 ...
Christia's user avatar
  • 1,637
0 votes
1 answer
63 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 ...
Christia's user avatar
  • 1,637
0 votes
1 answer
73 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 ...
Florian Müller's user avatar
0 votes
1 answer
117 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 ...
Christia's user avatar
  • 1,637
4 votes
1 answer
997 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 ...
Kevin's user avatar
  • 27.7k
5 votes
1 answer
76 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) ...
Christia's user avatar
  • 1,637

1
2 3 4 5
10