function spoiler_wysiwyg_include_directory in Spoiler 7
Implements hook_wysiwyg_include_directory(). Registers the wysiwyg directory as the one containing the plugin implementation.
Parameters
$type: The type of objects being collected: either 'plugins' or 'editors'.
Return value
A sub-directory of the implementing module that contains the corresponding plugin files. This directory must only contain integration files for Wysiwyg module.
File
- ./
spoiler.module, line 69 - Spoiler module: This module allows users to hide potential "spoiler" content by inserting them between [spoiler][/spoiler] tags. These tags will be converted to HTML by this filter. If JavaScript is available, then a button will be presented…
Code
function spoiler_wysiwyg_include_directory($type) {
return 'wysiwyg';
}