-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration features
Configuration Features are bundled configuration in code, as provided by the Drupal Features module.
These can be found in the codebase at: sites/all/modules/features
The following is a rough description of guidelines for creating new features.
Most features are content-type related. So, content type related Features include Content type, all Views that display items of this type (even they are displayed on other content types pages), blocks settings for blocks that are displayed on single node display for this content type, etc.
For example, feature for Application content type contains following components:
- Application content type
- Fields used for Application and their settings (pulled by Feature automatically)
- Field Groups used for Application content type (that's why it's important to name them explicitly)
- ALL Views that display nodes of Application type
- Settings for blocks that are displayed on Application-related pages. Note: for example, we have a block: "Orgs that created this App" displayed on single App page. This block displays Orgs, not applications. So, we include settings only for this block into Apps feature, NOT View that generates the block.
See Development Workflow.
All links are to the main application and will require admin access. To list all Features, go to: admin/structure/features.
- Machine name:
cc_applications
- Focused on structures related to the Application content type.
- Includes: Application content type, Fields, Views, Block settings
- Application Feature details
- Machine name:
cc_content_creation
- Focused on content creation structures.
- Includes: Block settings
- Content Creation Feature details
- Machine name:
cc_contexts
- Focused on Context structures.
- Includes: Contextx
- Contexts Feature details
- Note: The general nature of this feature will cause some maintainability issues down the line.
- Machine name:
cc_flags
- Focused on Flag structures.
- Includes: Block settings, Flags
- Flags Feature details
- Note: The general nature of this feature will cause some maintainability issues down the line.
- Machine name:
cc_interactions
- Focused on structures related to the Interaction content type.
- Includes: Interaction content type, Fields, Views
- Interaction Feature details
- Machine name:
cc_menus
- Focused on various menus and specific links.
- Includes: Menus and Menu Links
- Menus Feature details
- Note: The general nature of this feature will cause some maintainability issues down the line.
- Machine name:
cc_organization
- Focused on structures related to the Organization content type.
- Includes: Organization content type, Fields, Views
- Organization Feature details
- Machine name:
cc_places_feature
- Focused on structures related to Places (custom thing?).
- Includes: Block settings, OpenLayers objects, Views
- Places Feature details
- Machine name:
cc_project
- Focused on structures related to the Project content type.
- Includes: Organization content type, Fields, Views
- Project Feature details
- Machine name:
cc_standard
- Focused on structures related to the Standard content type.
- Includes: Organization content type, Fields, Views
- Standard Feature details
- Machine name:
cc_standard
- ??
- Includes: Block settings
- User Feature details