Skip to content
Snippets Groups Projects

ISTWCMS-5638: Adding interface for list style plugin, and removing empty methods we don't need.

Merged Igor Biki requested to merge feature/ISTWCMS-5638-ibiki-ckeditor-liststyle-plugin into 1.0.x
1 file
+ 4
24
Compare changes
  • Side-by-side
  • Inline
@@ -3,31 +3,18 @@
namespace Drupal\uw_ckeditor_plugins\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\ckeditor\CKEditorPluginContextualInterface;
use Drupal\editor\Entity\Editor;
/**
* Defines the "find" plugin.
* Defines the "List Style" plugin.
*
* @CKEditorPlugin(
* id = "liststyle",
* label = @Translation("List Style"),
* label = @Translation("List Style")
* )
*/
class ListStylePlugin extends CKEditorPluginBase {
/**
* {@inheritdoc}
*/
public function getDependencies(Editor $editor) {
return [];
}
/**
* {@inheritdoc}
*/
public function getLibraries(Editor $editor) {
return [];
}
class ListStylePlugin extends CKEditorPluginBase implements CKEditorPluginContextualInterface {
/**
* {@inheritdoc}
@@ -62,13 +49,6 @@ class ListStylePlugin extends CKEditorPluginBase {
return $enabled;
}
/**
* {@inheritdoc}
*/
public function isInternal() {
return FALSE;
}
/**
* {@inheritdoc}
*/
Loading