function tripal_ws_form_field_ui_field_edit_form_alter
3.x tripal_ws.module | tripal_ws_form_field_ui_field_edit_form_alter(&$form, &$form_state, $form_id) |
Related topics
File
- tripal_ws/
tripal_ws.module, line 440 - The Tripal Web Service Module
Code
function tripal_ws_form_field_ui_field_edit_form_alter(&$form, &$form_state, $form_id) {
if ($form['#instance']['entity_type'] == 'TripalEntity') {
$form['field']['cardinality']['#access'] = FALSE;
}
}