You are here

function entityform_set_required in Entityform 7.2

Same name and namespace in other branches
  1. 7 entityform.admin.inc \entityform_set_required()
1 string reference to 'entityform_set_required'
entityform_edit_form in ./entityform.admin.inc
Form callback: create or edit a entityform.

File

./entityform.admin.inc, line 543
Entityform editing UI.

Code

function entityform_set_required(&$form, &$form_state) {
  _entityform_set_all_nested_props($form, array(
    '#required' => TRUE,
  ), TRUE);
}