interface ConfigPagesContextInterface in Config Pages 8.3
Same name and namespace in other branches
- 8 src/ConfigPagesContextInterface.php \Drupal\config_pages\ConfigPagesContextInterface
- 8.2 src/ConfigPagesContextInterface.php \Drupal\config_pages\ConfigPagesContextInterface
Provides an interface defining a context config page.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\config_pages\ConfigPagesContextInterface
Expanded class hierarchy of ConfigPagesContextInterface
All classes that implement ConfigPagesContextInterface
File
- src/
ConfigPagesContextInterface.php, line 10
Namespace
Drupal\config_pagesView source
interface ConfigPagesContextInterface extends PluginInspectionInterface {
/**
* Return the label of the context.
*
* @return string
* Return label.
*/
public function getLabel();
/**
* Get the value of the context.
*
* @return mixed
* Return value of the context.
*/
public function getValue();
/**
* Get available links to switch on given context.
*
* @return array
* Return array of available links to switch on given context.
*/
public function getLinks();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigPagesContextInterface:: |
public | function | Return the label of the context. | 1 |
ConfigPagesContextInterface:: |
public | function | Get available links to switch on given context. | 1 |
ConfigPagesContextInterface:: |
public | function | Get the value of the context. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |