6 * Defines an interface for tour items.
8 * @see \Drupal\tour\Annotation\Tip
9 * @see \Drupal\tour\TipPluginBase
10 * @see \Drupal\tour\TipPluginManager
13 interface TipPluginInterface {
16 * Returns id of the tip.
24 * Returns label of the tip.
27 * The label of the tip.
29 public function getLabel();
32 * Returns weight of the tip.
35 * The weight of the tip.
37 public function getWeight();
40 * Returns an array of attributes for the tip wrapper.
43 * An array of classes and values.
45 public function getAttributes();
48 * Used for returning values by key.
56 public function get($key);
59 * Used for returning values by key.
67 public function set($key, $value);
70 * Returns a renderable array.
75 public function getOutput();