The Features module is a powerful module which allows developers to bundle site configuration into a module. You could use Features to export content types, fields, views and a whole lot more. However, often I see developers have trouble exporting node options and text formats when they are still new to the Features concept.
In this article, I’ll go through why you should install Strongarm and how to export “Text formats”.
Install Strongarm Module
The heading pretty much says it all, make sure you install the Strongarm module when using Features. Strongarm allows you to override and export site configuration that is stored in the
variable table into code.
When you export a content type into a Features module, you’ll need Strongarm to export the content type options. Options within the vertical tabs are stored in the
How To Export Text Formats
The Features module gives you the ability to export “Text formats”. Just select “Text formats: filter” from the “Edit components” drop-down list.
However, make sure you also export the corresponding permission because “Text formats” are attached to user roles.
Just remember, when exporting a “Text format” you’ll need to export the filter and permission together.
If you have any questions, please leave a comment.