Hook to register plugin - it would be displayed in plugins list on profile setting page.

Comments

dczepierga’s picture

Status: Needs review » Active

New feature commited to GIT.

How to use it:
Add to your module following hook:

function MODULENAME_ckeditor_plugin() {
  return array(
        'plugin_name' => array(
            // Name of the plugin used to write it
            'name' => 'plugin_name',
            // Description of plugin - it would be displayed in plugins managment of profile settings
            'desc' => t('Description of plugin'),
            // The full path to the CKEditor plugin directory, with trailing slash.
            'path' => drupal_get_path('module', 'my_module') . '/plugin_dir/',
        )
    );
}

Where MODULENAME is the name of your module.

If u have any questions, suggestions or needs help to implement this hook pls write, i will help asap.

Greetings

dczepierga’s picture

Status: Active » Needs review
xandeadx’s picture

Status: Active » Needs review

its work!

anrikun’s picture

FYI, this hook implementation has just been added to CKEditor SWF and CKEditor Link as requested:
#1179916: Integration with CKEditor module
#1179918: Integration with CKEditor module

dczepierga’s picture

Status: Needs review » Fixed

Information about integration with CKEditor module added to README.
As i see everything works fine so i mark is as fixed.

Greetings

mkesicki’s picture

Title: [D7] Hook to register plugin - it would be displayed in plugins list on profile setting page » [D7] Add hook to register plugin
Status: Fixed » Closed (fixed)
mkesicki’s picture

Title: [D7] Add hook to register plugin » [D7] Add hook to register a plugin