function hook_es_import_field_data_alter in Entity Share 7
Alter the import field data in order to manage specific field type contents.
Parameters
string $field_data: The value of the field.
array $context: The context of execution.
- "field_name": the field name.
- "field_type": the field type (text, field_collection, ...).
- "lang": the language of the value.
- "entity": the entity.
- "field_info": the field info from field_info_field.
3 functions implement hook_es_import_field_data_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- entity_share_field_collection_es_import_field_data_alter in modules/
entity_share_field_collection/ entity_share_field_collection.module - Implements hook_es_import_field_data_before_alter().
- entity_share_medias_es_import_field_data_alter in modules/
entity_share_medias/ entity_share_medias.module - Implements hook_es_import_field_data_before_alter().
- entity_share_taxonomy_es_import_field_data_alter in modules/
entity_share_taxonomy/ entity_share_taxonomy.module - Implements hook_es_import_field_data_before_alter().
File
- ./
entity_share.api.php, line 42 - Hooks provided by the Entity Share module.
Code
function hook_es_import_field_data_alter(&$field_data, array $context) {
}