function auto_entitylabel_inline_entity_form_entity_form_alter in Automatic Entity Label 8.2
Same name and namespace in other branches
- 8.3 auto_entitylabel.module \auto_entitylabel_inline_entity_form_entity_form_alter()
Implements hook_inline_entity_form_entity_form_alter().
File
- ./
auto_entitylabel.module, line 66 - Allows hiding of entity label fields and automatic label creation.
Code
function auto_entitylabel_inline_entity_form_entity_form_alter(&$form, &$form_state) {
$entity = $form['#entity'];
auto_entitylabel_prepare_entityform($form, $entity);
}