There were a few additions to core in Drupal 7 that do not yet have Features support. Since the Features module provides support for core data types, presumably these too should be added. There are also items in core from prior to Drupal 7 that lack Features support, e.g., languages.

We'll need a separate issue for each addition. Here's a few for starters. Please add others.

CommentFileSizeAuthor
#4 features-date_formats-1083394-4.patch4.12 KBderhasi

Comments

damienmckenna’s picture

Would also like to see this, particularly shortcut sets.

derhasi’s picture

I'm currently working on the date_formats (especially date-formats-locale). Maybe i'll post a patch tomorrow ;)

derhasi’s picture

Uh, the date_format is a complicated one. We have to pay attention to several topics.

* Implementation with hook_date_format_types will lock the format types (so they cannot be edited via UI)
* Default formats are stored in variable "date_format_$type", locale overrides are stored in database table
* values stored in {date_formats} can be locked too

I wanted to try to use hook_date_format_types_alter (and hook_date_formats_alter), but feautures does not seem to provide such functionality. So I'll stick with a custom hook.

derhasi’s picture

Status: Active » Needs review
StatusFileSize
new4.12 KB

There's a first try for date_formats attached.

febbraro’s picture

derhasi’s picture

Create a new issue for date_formats, and created a patch for languages

* Date Formats #1279928: Features Extra support for date_formats
* Languages #1279938: Features support for languages

e2thex’s picture

Issue tags: +sprint candidate

tagging

nedjo’s picture

Status: Needs review » Active

I've updated the issue summary with links to existing issues.

kclarkson’s picture

Would this issue also be for default components such as the Article content type or the User path patterns ?

The feature shows as overriden once enabled and the patterns or fields for default content is not added.

Once I run hit the revert button everything works but for some people this may raise a red flag.

kclarkson’s picture

Issue summary: View changes

Updated issue summary.