function _wysiwyg_template_get_list_url in Wysiwyg API template plugin 7.2
Callback to determine the correct URL which allows the editor to receive the list of templates.
Parameters
$editorName:
2 calls to _wysiwyg_template_get_list_url()
- wysiwyg_template_ckeditor_settings_alter in ./
wysiwyg_template.module - wysiwyg_template_wysiwyg_plugin in ./
wysiwyg_template.module - Implementation of hook_wysiwyg_plugin().
File
- ./
wysiwyg_template.module, line 162 - Makes TinyMCE Templates available as plugin for client-side editors integrated via Wysiwyg API.
Code
function _wysiwyg_template_get_list_url($editorName) {
return url('wysiwyg-templates/' . $editorName . '/' . _wysiwyg_template_set_node_type() . '/list');
}