You are here

function brightcove_admin_settings_validate in Brightcove Video Connect 7.7

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

File

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

Code

function brightcove_admin_settings_validate($form, &$form_state) {
  if ($form_state['values']['brightcove_cache_enabled'] && $form_state['values']['brightcove_cache_type'] === 'file') {
    system_check_directory($form['cache']['brightcove_cache_file']['path']);
  }
}