You are here

function brightcove_admin_add_customfield_submit in Brightcove Video Connect 7.4

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

File

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

Code

function brightcove_admin_add_customfield_submit($form, &$form_state) {
  $settings_custom_field = variable_get('brightcove_custom_field_number', 10);
  if ($form_state['brightcove_custom_fields'] < $settings_custom_field) {
    $form_state['brightcove_custom_fields']++;
  }
  $form_state['rebuild'] = TRUE;
}