function uuid_link_wysiwyg_plugin in UUID Link 7
Same name and namespace in other branches
- 6 uuid_link.module \uuid_link_wysiwyg_plugin()
Implements hook_wysiwyg_plugin().
File
- ./
uuid_link.module, line 36 - Provides a filter and UI for adding links to entities that are not affected by changes in URL alias.
Code
function uuid_link_wysiwyg_plugin($editor, $version) {
if ($editor == 'ckeditor') {
return array(
'uuid_link' => array(
'path' => drupal_get_path('module', 'uuid_link') . '/plugins/link/',
'load' => TRUE,
'extensions' => array(
'uuid_link' => t('Link to site content'),
),
),
);
}
}