geshifilter-8.x-2.0-beta1/codesnippetgeshi/src/Plugin/CKEditorPlugin/AjaxCKEditorPlugin.php

codesnippetgeshi/src/Plugin/CKEditorPlugin/AjaxCKEditorPlugin.php
<?php

namespace Drupal\codesnippetgeshi\Plugin\CKEditorPlugin;

use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\editor\Entity\Editor;

/**
 * Defines the "ajax" plugin.
 *
 * @CKEditorPlugin(
 *   id = "ajax",
 *   label = @Translation("Ajax ckeditor plugin")
 * )
 */
class AjaxCKEditorPlugin extends CKEditorPluginBase {

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

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

  /**
   * {@inheritdoc}
   */
  public function isInternal() {
    return FALSE;
  }

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

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

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

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc