3 namespace Drupal\ckeditor\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a CKEditorPlugin annotation object.
10 * Plugin Namespace: Plugin\CKEditorPlugin
12 * For a working example, see \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalImage
14 * @see \Drupal\ckeditor\CKEditorPluginInterface
15 * @see \Drupal\ckeditor\CKEditorPluginBase
16 * @see \Drupal\ckeditor\CKEditorPluginManager
17 * @see hook_ckeditor_plugin_info_alter()
22 class CKEditorPlugin extends Plugin {
27 * This MUST match the name of the CKEditor plugin itself (written in
28 * JavaScript). Otherwise CKEditor will throw JavaScript errors when it runs,
29 * because it fails to load this CKEditor plugin.
36 * The human-readable name of the CKEditor plugin.
38 * @ingroup plugin_translatable
40 * @var \Drupal\Core\Annotation\Translation