Same name in other branches
- 8.x-3.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 dans quicktabs_accordion/
src/ Plugin/ TabRenderer/ AccordionTabs.php - QuickTabs.php dans src/
Plugin/ TabRenderer/ QuickTabs.php - UiTabs.php dans quicktabs_jqueryui/
src/ Plugin/ TabRenderer/ UiTabs.php
Fichier
-
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
Titre Trier par ordre décroissant | Modifiers | Object type | Résumé | 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 |