Same name in other branches
- 4.x src/TabRendererBase.php \Drupal\quicktabs\TabRendererBase
Base implementation for plugins that render tabbed output.
Hierarchy
- class \Drupal\quicktabs\TabRendererBase extends \Drupal\Component\Plugin\PluginBase implements \Drupal\quicktabs\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
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
TabRendererBase::getName | public | function | Gets the name of the plugin. | ||
TabRendererBase::optionsForm | public | function | Return form elements used on the edit/add from. | Overrides TabRendererInterface::optionsForm | 2 |
TabRendererBase::render | abstract public | function | Return a render array for the whole Quick Tabs instance. | Overrides TabRendererInterface::render | 3 |