class InPlaceEditor

Defines an InPlaceEditor annotation object.

Hierarchy

Expanded class hierarchy of InPlaceEditor

4 files declare their use of InPlaceEditor
DirectEditor.php in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditor/DirectEditor.php
Contains \Drupal\edit\Plugin\InPlaceEditor\DirectEditor.
Editor.php in drupal/core/modules/editor/lib/Drupal/editor/Plugin/InPlaceEditor/Editor.php
Contains \Drupal\editor\Plugin\InPlaceEditor\Editor.
FormEditor.php in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditor/FormEditor.php
Contains \Drupal\edit\Plugin\InPlaceEditor\FormEditor.
WysiwygEditor.php in drupal/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/InPlaceEditor/WysiwygEditor.php
Contains \Drupal\edit_test\Plugin\InPlaceEditor\WysiwygEditor.
1 string reference to 'InPlaceEditor'
InPlaceEditorManager::__construct in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditorManager.php
Overrides \Drupal\Component\Plugin\PluginManagerBase::__construct().
4 classes are annotated with InPlaceEditor
DirectEditor in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditor/DirectEditor.php
Defines the direct editor.
Editor in drupal/core/modules/editor/lib/Drupal/editor/Plugin/InPlaceEditor/Editor.php
Defines the formatted text editor.
FormEditor in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditor/FormEditor.php
Defines the form editor.
WysiwygEditor in drupal/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/InPlaceEditor/WysiwygEditor.php
Defines the wysiwyg editor.

File

drupal/core/modules/edit/lib/Drupal/edit/Annotation/InPlaceEditor.php, line 17
Contains \Drupal\edit\Annotation\InPlaceEditor.

Namespace

Drupal\edit\Annotation
View source
class InPlaceEditor extends Plugin {

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

  /**
   * An array of in-place editors that have registered themselves as
   * alternatives to this in-place editor.
   *
   * @var array
   */
  public $alternativeTo;

  /**
   * The name of the module providing the in-place editor plugin.
   *
   * @var string
   */
  public $module;

}

Members

Namesort descending Modifiers Type Description Overrides
InPlaceEditor::$alternativeTo public property An array of in-place editors that have registered themselves as alternatives to this in-place editor.
InPlaceEditor::$id public property The plugin ID.
InPlaceEditor::$module public property The name of the module providing the in-place editor plugin.
Plugin::$definition protected property The plugin definiton read from the class annotation.
Plugin::get public function Implements Drupal\Core\Annotation\AnnotationInterface::get(). Overrides AnnotationInterface::get
Plugin::parse protected function Parses an annotation into its definition.
Plugin::__construct public function Constructs a Plugin object.