function rh_field_collection_form_field_collection_item_form_alter in Rabbit Hole 7.2
Implements hook_form_FORM_ID_alter().
This will add Rabbit Hole options to the field collection form. The user will be able to override the default Rabbit Hole options.
File
- modules/
rh_field_collection/ rh_field_collection.module, line 29 - Main module file for Rabbit Hole field collections module.
Code
function rh_field_collection_form_field_collection_item_form_alter(&$form, $form_state) {
rabbit_hole_form($form, 'field_collection_item', $form['#bundle'], 'rh_field_collection', $form['#entity']);
}