function linkit_ckeditor_plugin in Linkit 7
Same name and namespace in other branches
- 6 linkit.module \linkit_ckeditor_plugin()
- 7.3 linkit.module \linkit_ckeditor_plugin()
- 7.2 linkit.module \linkit_ckeditor_plugin()
Implementation of hook_ckeditor_plugin().
File
- ./
linkit.module, line 96 - Main file for linkit module.
Code
function linkit_ckeditor_plugin() {
return array(
'linkit' => array(
// Name of the plugin used to write it
'name' => 'Linkit',
// Description of plugin - it would appear in plugins managment of profile settings
'desc' => t('Support for Linkit module'),
// The full path to the CKEditor plugin directory, with trailing slash.
'path' => drupal_get_path('module', 'linkit') . '/editors/ckeditor/',
// Buttons to show up in the toolbar config area.
'buttons' => array(
'Linkit' => array(
'label' => 'Linkit',
'icon' => 'linkit.png',
),
),
),
);
}