editorjs-2.x-dev/src/Annotation/EditorJsTools.php

src/Annotation/EditorJsTools.php
<?php

namespace Drupal\editorjs\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines editorjs_tools annotation object.
 *
 * @Annotation
 */
class EditorjsTools extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The description of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

  /**
   * The name javascript class/object implementing this a tool.
   *
   * @var string
   */
  public $implementer;

  /**
   * The (optional) permission needed to use a tool.
   *
   * @var string
   */
  public $permission;

}

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

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