interface TipPluginInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/tour/src/TipPluginInterface.php \Drupal\tour\TipPluginInterface
Defines an interface for tour items.
Hierarchy
- interface \Drupal\tour\TipPluginInterface
Expanded class hierarchy of TipPluginInterface
All classes that implement TipPluginInterface
See also
File
- core/
modules/ tour/ src/ TipPluginInterface.php, line 18 - Contains \Drupal\tour\TipPluginInterface.
Namespace
Drupal\tourView source
interface TipPluginInterface {
/**
* Returns id of the tip.
*
* @return string
* The id of the tip.
*/
public function id();
/**
* Returns label of the tip.
*
* @return string
* The label of the tip.
*/
public function getLabel();
/**
* Returns weight of the tip.
*
* @return string
* The weight of the tip.
*/
public function getWeight();
/**
* Returns an array of attributes for the tip wrapper.
*
* @return array
* An array of classes and values.
*/
public function getAttributes();
/**
* Used for returning values by key.
*
* @var string
* Key of the value.
*
* @return string
* Value of the key.
*/
public function get($key);
/**
* Used for returning values by key.
*
* @var string
* Key of the value.
*
* @var string
* Value of the key.
*/
public function set($key, $value);
/**
* Returns a renderable array.
*
* @return array
* A renderable array.
*/
public function getOutput();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TipPluginInterface:: |
public | function | Used for returning values by key. | 1 |
TipPluginInterface:: |
public | function | Returns an array of attributes for the tip wrapper. | 1 |
TipPluginInterface:: |
public | function | Returns label of the tip. | 1 |
TipPluginInterface:: |
public | function | Returns a renderable array. | 2 |
TipPluginInterface:: |
public | function | Returns weight of the tip. | 1 |
TipPluginInterface:: |
public | function | Returns id of the tip. | 1 |
TipPluginInterface:: |
public | function | Used for returning values by key. | 1 |