You are here

function asset_ckeditor_admin_profile_form_submit in Asset 7

Custom submit handler to force br enter mode.

1 string reference to 'asset_ckeditor_admin_profile_form_submit'
asset_form_ckeditor_admin_profile_form_alter in ./asset.module
Implements hook_form_FORM_ID_alter().

File

./asset.module, line 1095
Asset module.

Code

function asset_ckeditor_admin_profile_form_submit($form, &$form_state) {
  if (!empty($form_state['values']['loadPlugins']['asset']) && $form_state['values']['enter_mode'] != 'br') {
    $form_state['values']['enter_mode'] = 'br';
  }
}