You are here

function hook_ckeditor_security_filter in CKEditor - WYSIWYG HTML editor 7

Hook to register the CKEditor security filter - it would appear in the security filters list on the profile setting page.

1 invocation of hook_ckeditor_security_filter()
ckeditor_security_filters in includes/ckeditor.lib.inc
Return all modules that provide security filters.

File

./ckeditor.api.php, line 76
CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.

Code

function hook_ckeditor_security_filter() {
  return array(
    'security_filter_name' => array(
      // Title of the security filter - it would be displayed in the security filters section of profile settings.
      'title' => t('Security filter title'),
      // Description of the security filter - it would be displayed in the security filters section of profile settings.
      'description' => t('Security filter description'),
    ),
  );
}