You are here

class BalloonPanelPlugin in CKEditor Balloon Panel 7

Same name and namespace in other branches
  1. 8 src/Plugin/CKEditorPlugin/BalloonPanelPlugin.php \Drupal\ckeditor_balloonpanel\Plugin\CKEditorPlugin\BalloonPanelPlugin
  2. 2.0.x src/Plugin/CKEditorPlugin/BalloonPanelPlugin.php \Drupal\ckeditor_balloonpanel\Plugin\CKEditorPlugin\BalloonPanelPlugin

Defines the "balloonpanel" plugin.

Plugin annotation


@CKEditorPlugin(
  id = "balloonpanel",
  label = @Translation("Balloon Panel Plugin"),
)

Hierarchy

  • class \Drupal\ckeditor_balloonpanel\Plugin\CKEditorPlugin\BalloonPanelPlugin extends \Drupal\ckeditor\CKEditorPluginBase

Expanded class hierarchy of BalloonPanelPlugin

File

src/Plugin/CKEditorPlugin/BalloonPanelPlugin.php, line 16

Namespace

Drupal\ckeditor_balloonpanel\Plugin\CKEditorPlugin
View source
class BalloonPanelPlugin extends CKEditorPluginBase {

  /**
   * {@inheritdoc}
   */
  public function getFile() {
    return base_path() . 'libraries/balloonpanel/plugin.js';
  }

  /**
   * {@inheritdoc}
   */
  public function getConfig(Editor $editor) {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getButtons() {
    return [];
  }

}

Members