Mercurial > hg > isophonics-drupal-site
comparison core/modules/tour/src/Annotation/Tip.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\tour\Annotation; | |
4 | |
5 use Drupal\Component\Annotation\Plugin; | |
6 | |
7 /** | |
8 * Defines a tour item annotation object. | |
9 * | |
10 * Plugin Namespace: Plugin\tour\tip | |
11 * | |
12 * For a working example, see \Drupal\tour\Plugin\tour\tip\TipPluginText | |
13 * | |
14 * @see \Drupal\tour\TipPluginBase | |
15 * @see \Drupal\tour\TipPluginInterface | |
16 * @see \Drupal\tour\TipPluginManager | |
17 * @see plugin_api | |
18 * | |
19 * @Annotation | |
20 */ | |
21 class Tip extends Plugin { | |
22 | |
23 /** | |
24 * The plugin ID. | |
25 * | |
26 * @var string | |
27 */ | |
28 public $id; | |
29 | |
30 /** | |
31 * The title of the plugin. | |
32 * | |
33 * @var \Drupal\Core\Annotation\Translation | |
34 * | |
35 * @ingroup plugin_translatable | |
36 */ | |
37 public $title; | |
38 | |
39 } |