interface TabRendererInterface in Quick Tabs 8.3
Defines an interface for tab renderer plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\quicktabs\TabRendererInterface
Expanded class hierarchy of TabRendererInterface
All classes that implement TabRendererInterface
File
- src/
TabRendererInterface.php, line 11
Namespace
Drupal\quicktabsView source
interface TabRendererInterface extends PluginInspectionInterface {
/**
* Return form elements used on the edit/add from.
*
* @return array
* The options used for displaying tabs.
*/
public function optionsForm(QuickTabsInstance $instance);
/**
* Return a render array for the whole Quick Tabs instance.
*
* @return array
* A render array.
*/
public function render(QuickTabsInstance $instance);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
TabRendererInterface:: |
public | function | Return form elements used on the edit/add from. | 1 |
TabRendererInterface:: |
public | function | Return a render array for the whole Quick Tabs instance. | 1 |