FakeObjects.php in CKEditor FakeObjects 8
Namespace
Drupal\fakeobjects\Plugin\CKEditorPluginFile
src/Plugin/CKEditorPlugin/FakeObjects.phpView source
<?php
namespace Drupal\fakeobjects\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\editor\Entity\Editor;
/**
* Defines the "fakeobjects" plugin.
*
* @CKEditorPlugin(
* id = "fakeobjects",
* label = @Translation("FakeObjects"),
* )
*/
class FakeObjects extends CKEditorPluginBase {
/**
* {@inheritdoc}
*/
public function getFile() {
return 'libraries/fakeobjects/plugin.js';
}
/**
* {@inheritdoc}
*/
public function getConfig(Editor $editor) {
return [];
}
/**
* {@inheritdoc}
*/
public function getButtons() {
return [];
}
}
Classes
Name | Description |
---|---|
FakeObjects | Defines the "fakeobjects" plugin. |