You are here

function linkit_ckeditor_plugin in Linkit 7.3

Same name and namespace in other branches
  1. 6 linkit.module \linkit_ckeditor_plugin()
  2. 7 linkit.module \linkit_ckeditor_plugin()
  3. 7.2 linkit.module \linkit_ckeditor_plugin()

Implements hook_ckeditor_plugin().

File

./linkit.module, line 1063
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' => 'icons/linkit.png',
        ),
      ),
    ),
  );
}