CodeSnippetCKEditorButton.php in GeSHi Filter for syntax highlighting 8
File
codesnippetgeshi/src/Plugin/CKEditorPlugin/CodeSnippetCKEditorButton.php
View source
<?php
namespace Drupal\codesnippetgeshi\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\editor\Entity\Editor;
class CodeSnippetCKEditorButton extends CKEditorPluginBase {
public function getButtons() {
return [];
}
public function getFile() {
return 'libraries/codesnippet/plugin.js';
}
public function isInternal() {
return FALSE;
}
public function getDependencies(Editor $editor) {
return [];
}
public function getLibraries(Editor $editor) {
return [];
}
public function getConfig(Editor $editor) {
return [];
}
}