comparison core/modules/quickedit/src/Annotation/InPlaceEditor.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\quickedit\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7 /**
8 * Defines an InPlaceEditor annotation object.
9 *
10 * Plugin Namespace: Plugin\InPlaceEditor
11 *
12 * For a working example, see \Drupal\quickedit\Plugin\InPlaceEditor\PlainTextEditor
13 *
14 * @see \Drupal\quickedit\Plugin\InPlaceEditorBase
15 * @see \Drupal\quickedit\Plugin\InPlaceEditorInterface
16 * @see \Drupal\quickedit\Plugin\InPlaceEditorManager
17 * @see plugin_api
18 *
19 * @Annotation
20 */
21 class InPlaceEditor extends Plugin {
22
23 /**
24 * The plugin ID.
25 *
26 * @var string
27 */
28 public $id;
29
30 /**
31 * The name of the module providing the in-place editor plugin.
32 *
33 * @var string
34 */
35 public $module;
36
37 }