abstract class TabRendererBase in Quick Tabs 8.3
Base implementation for plugins that render tabbed output.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\quicktabs\TabRendererBase implements TabRendererInterface
Expanded class hierarchy of TabRendererBase
3 files declare their use of TabRendererBase
- AccordionTabs.php in quicktabs_accordion/
src/ Plugin/ TabRenderer/ AccordionTabs.php - QuickTabs.php in src/
Plugin/ TabRenderer/ QuickTabs.php - UiTabs.php in quicktabs_jqueryui/
src/ Plugin/ TabRenderer/ UiTabs.php
File
- src/
TabRendererBase.php, line 11
Namespace
Drupal\quicktabsView source
abstract class TabRendererBase extends PluginBase implements TabRendererInterface {
/**
* Gets the name of the plugin.
*/
public function getName() {
return $this->pluginDefinition['name'];
}
/**
* {@inheritdoc}
*/
public function optionsForm(QuickTabsInstance $instance) {
return [];
}
/**
* {@inheritdoc}
*/
public abstract function render(QuickTabsInstance $instance);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |
TabRendererBase:: |
public | function | Gets the name of the plugin. | |
TabRendererBase:: |
public | function |
Return form elements used on the edit/add from. Overrides TabRendererInterface:: |
2 |
TabRendererBase:: |
abstract public | function |
Return a render array for the whole Quick Tabs instance. Overrides TabRendererInterface:: |
3 |