function easychart_wysiwyg_include_directory in Easychart 7.2
Same name and namespace in other branches
- 7 easychart.module \easychart_wysiwyg_include_directory()
Implements hook_wysiwyg_include_directory().
Register a directory containing Wysiwyg plugins.
Parameters
string $type: The type of objects being collected: either 'plugins' or 'editors'.
Return value
string A sub-directory of the implementing module that contains the corresponding plugin files. This directory must only contain integration files for Wysiwyg module.
File
- ./
easychart.module, line 635 - Easychart module file.
Code
function easychart_wysiwyg_include_directory($type) {
switch ($type) {
case 'plugins':
// You can just return $type, if you place your Wysiwyg plugins into a
// sub-directory named 'plugins'.
return $type;
}
}