function hook_uuid_entity_features_export_alter in UUID Features Integration 7
Allows to modify features metadata for an entity.
Parameters
string $entity_type: The entity type to export.
array $data: The array of the features export data
object $entity: The entity to export
string $module: The module to export for..
6 functions implement hook_uuid_entity_features_export_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- commerce_product_reference_uuid_entity_features_export_alter in includes/
modules/ commerce_product_reference.inc - Implements hook_uuid_entity_features_export_alter().
- field_collection_uuid_entity_features_export_alter in includes/
modules/ field_collection.inc - Implements hook_uuid_entity_features_export_alter().
- file_entity_revisions_uuid_entity_features_export_alter in includes/
modules/ file_entity_revisions.inc - Implements hook_uuid_entity_features_export_alter().
- file_entity_uuid_entity_features_export_alter in includes/
modules/ file_entity.inc - Implements hook_uuid_entity_features_export_alter().
- panelizer_uuid_entity_features_export_alter in includes/
modules/ panelizer.inc - Implements hook_uuid_entity_features_export_alter().
6 invocations of hook_uuid_entity_features_export_alter()
- uuid_bean_features_export in includes/
uuid_bean.features.inc - Implements hook_features_export().
- uuid_commerce_product_features_export in includes/
uuid_commerce_product.features.inc - Implements hook_features_export().
- uuid_file_entity_features_export in includes/
uuid_file_entity.features.inc - Implements hook_features_export().
- uuid_node_features_export in includes/
uuid_node.features.inc - Implements hook_features_export().
- uuid_term_features_export in includes/
uuid_term.features.inc - Implements hook_features_export().
File
- ./
uuid_features.api.php, line 19 - Hooks provided by the UUID Features module.
Code
function hook_uuid_entity_features_export_alter($entity_type, &$data, $entity, $module) {
// Access / modify the pipe.
$pipe =& $data['__drupal_alter_by_ref']['pipe'];
$data['features']['uuid_panelizer']['xyz'] = 'xyz';
$pipe['dependencies']['module_xyz'] = 'module_xyz';
}