Integrating your application with the CKEditor module by adding a security filter works through a special hook. An example of the hook is shown below:
function MODULENAME_ckeditor_security_filter() { return array( 'security_filter_name' => array( // Security filter title - it will be displayed in the "Security > Security filters" section of profile settings. 'title' => t('Security filter title'), // Security filter description - it will be displayed in the "Security > Security filters" section of profile settings. 'description' => t('Security filter description'), ) ); }
Please note that MODULENAME
in the code above is the name of the module.
After the hook is used the security filter will automatically appear on the filters list for each CKEditor profile where you will be able to enable it.