function hook_conditional_fields_children_alter in Conditional Fields 4.x
Same name and namespace in other branches
- 8 conditional_fields.api.php \hook_conditional_fields_children_alter()
Alter the list of fields contained within a given field.
Parameters
string &$fields: Fields provided by hook_conditional_fields_children().
string $entity_type: Name of the entity type being configured.
string $bundle_name: Name of the entity bundle being configured.
string $field: Name of the parent field to check for children fields.
See also
DependencyHelper::getInheritingFieldNames()
hook_conditional_fields_children()
File
- ./
conditional_fields.api.php, line 104 - Hooks for the conditional_fields module.
Code
function hook_conditional_fields_children_alter(&$fields, $entity_type, $bundle_name, $field) {
// Do something with the child fields.
}