You are here

CKEditorPlugin.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/ckeditor/src/Annotation/CKEditorPlugin.php

File

core/modules/ckeditor/src/Annotation/CKEditorPlugin.php
View source
<?php

/**
 * @file
 * Contains \Drupal\ckeditor\Annotation\CKEditorPlugin.
 */
namespace Drupal\ckeditor\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a CKEditorPlugin annotation object.
 *
 * Plugin Namespace: Plugin\CKEditorPlugin
 *
 * For a working example, see \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalImage
 *
 * @see \Drupal\ckeditor\CKEditorPluginInterface
 * @see \Drupal\ckeditor\CKEditorPluginBase
 * @see \Drupal\ckeditor\CKEditorPluginManager
 * @see plugin_api
 *
 * @Annotation
 */
class CKEditorPlugin extends Plugin {

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

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

}

Classes

Namesort descending Description
CKEditorPlugin Defines a CKEditorPlugin annotation object.