You are here

function brightcove_admin_remove_customfield_submit in Brightcove Video Connect 7.2

Same name and namespace in other branches
  1. 7.3 brightcove.admin.inc \brightcove_admin_remove_customfield_submit()
  2. 7.4 brightcove.admin.inc \brightcove_admin_remove_customfield_submit()
  3. 7.5 brightcove.admin.inc \brightcove_admin_remove_customfield_submit()
1 string reference to 'brightcove_admin_remove_customfield_submit'
brightcove_admin_settings in ./brightcove.admin.inc
Form builder.

File

./brightcove.admin.inc, line 230
Admin settings for Brightcove module.

Code

function brightcove_admin_remove_customfield_submit($form, &$form_state) {
  if ($form_state['brightcove_custom_fields'] > 0) {
    $form_state['brightcove_custom_fields']--;
  }
  $form_state['rebuild'] = TRUE;
}