constant FEATURES_DEFAULTS_INCLUDED in Features 7
Same name and namespace in other branches
- 6 features.module \FEATURES_DEFAULTS_INCLUDED
- 7.2 features.module \FEATURES_DEFAULTS_INCLUDED
Components with this 'default_file' flag will have exports written to a defaults based on the component name like 'MODULENAME.features.COMPONENT-NAME.inc'. Any callers to this component's defaults hook must call features_include_defaults('component') in order to include this file.
9 uses of FEATURES_DEFAULTS_INCLUDED
- features_export_render in ./
features.export.inc - Render feature export into an array representing its files.
- features_include_defaults in ./
features.module - Load features includes for all components that require includes before collecting defaults.
- field_features_api in includes/
features.field.inc - Implements hook_features_api().
- filter_features_api in includes/
features.filter.inc - Implements hook_features_api().
- hook_features_api in ./
features.api.php - Main info hook that features uses to determine what components are provided by the implementing module.
File
- ./
features.module, line 45 - Module file for the features module, which enables the capture and management of features in Drupal. A feature is a collection of Drupal entities which taken together statisfy a certain use-case.
Code
define('FEATURES_DEFAULTS_INCLUDED', 1);