X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fckeditor%2Fsrc%2FCKEditorPluginInterface.php;fp=web%2Fcore%2Fmodules%2Fckeditor%2Fsrc%2FCKEditorPluginInterface.php;h=543a112dfb6300c652015fbf77cd0034b1773ae4;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/ckeditor/src/CKEditorPluginInterface.php b/web/core/modules/ckeditor/src/CKEditorPluginInterface.php new file mode 100644 index 000000000..543a112df --- /dev/null +++ b/web/core/modules/ckeditor/src/CKEditorPluginInterface.php @@ -0,0 +1,99 @@ +getSettings(), but be + * aware that it may not yet contain plugin-specific settings, because the + * user may not yet have configured the form. + * If there are plugin-specific settings (verify with isset()), they can be + * found at + * @code + * $settings = $editor->getSettings(); + * $plugin_specific_settings = $settings['plugins'][$plugin_id]; + * @endcode + * + * @param \Drupal\editor\Entity\Editor $editor + * A configured text editor object. + * @return array + * A keyed array, whose keys will end up as keys under CKEDITOR.config. + */ + public function getConfig(Editor $editor); + +}