KitchenSink.php in Panopoly 8.2
File
modules/panopoly/panopoly_wysiwyg/src/Plugin/CKEditorPlugin/KitchenSink.php
View source
<?php
namespace Drupal\panopoly_wysiwyg\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\editor\Entity\Editor;
class KitchenSink extends CKEditorPluginBase {
public function getButtons() {
return [
'panopoly_wysiwyg_kitchensink' => [
'label' => t('Kitchen Sink'),
'image' => drupal_get_path('module', 'panopoly_wysiwyg') . '/ckeditor/kitchensink/icons/kitchensink.png',
],
];
}
public function getFile() {
return drupal_get_path('module', 'panopoly_wysiwyg') . '/ckeditor/kitchensink/plugin.js';
}
public function isInternal() {
return FALSE;
}
public function getConfig(Editor $editor) {
return [];
}
}
Classes
Name |
Description |
KitchenSink |
Defines the "panopoly_wysiwyg_kitchensink" plugin. |