Skip to content

Instantly share code, notes, and snippets.

@manoj-apare
Created June 29, 2016 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-apare/ad5d939ea342b0a630cbb577d0c91258 to your computer and use it in GitHub Desktop.
Save manoj-apare/ad5d939ea342b0a630cbb577d0c91258 to your computer and use it in GitHub Desktop.
function my_module_ckeditor_plugin_info_alter(array &$plugins) {
$plugins[myplugin] = array(
'id' => myplugin,
'label' => t('My Plugin'),
'module' => my_module,
'class' => 'Drupal\my_module\Plugin\CKEditorPlugin\MyPlugin,
'provider' => my_module,
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment