function ckeditor_link_element_info_alter

cis7 ckeditor_link.module ckeditor_link_element_info_alter(&$type)
cle7 ckeditor_link.module ckeditor_link_element_info_alter(&$type)
elmsmedia7 ckeditor_link.module ckeditor_link_element_info_alter(&$type)
icor7 ckeditor_link.module ckeditor_link_element_info_alter(&$type)
meedjum_blog7 ckeditor_link.module ckeditor_link_element_info_alter(&$type)
mooc7 ckeditor_link.module ckeditor_link_element_info_alter(&$type)

Implementation of hook_element_info_alter().

File

sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module, line 156
Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

Code

function ckeditor_link_element_info_alter(&$type) {
  if (user_access('access ckeditor link')) {
    $type['text_format']['#pre_render'][] = 'ckeditor_link_text_format_pre_render';
    $type['form']['#post_render'][] = 'ckeditor_link_form_post_render';
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.