function brightcove_admin_settings_validate in Brightcove Video Connect 7.6
Same name and namespace in other branches
- 7.7 brightcove.admin.inc \brightcove_admin_settings_validate()
- 7.2 brightcove.admin.inc \brightcove_admin_settings_validate()
- 7.3 brightcove.admin.inc \brightcove_admin_settings_validate()
- 7.4 brightcove.admin.inc \brightcove_admin_settings_validate()
- 7.5 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']);
}
}