interface TabTypeInterface in Quick Tabs 8.3
Defines an interface for tab type plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\quicktabs\TabTypeInterface
Expanded class hierarchy of TabTypeInterface
All classes that implement TabTypeInterface
File
- src/
TabTypeInterface.php, line 10
Namespace
Drupal\quicktabsView source
interface TabTypeInterface extends PluginInspectionInterface {
/**
* Return form elements used on the edit/add from.
*
* @param array $tab
* The array tab for display.
*
* @return array
* The options used for displaying tabs.
*/
public function optionsForm(array $tab);
/**
* Return a render array for an individual tab tat the theme layer to process.
*
* @return string
* @todo test if changing type to array works
*/
public function render(array $tab);
}
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 |
TabTypeInterface:: |
public | function | Return form elements used on the edit/add from. | 1 |
TabTypeInterface:: |
public | function | Return a render array for an individual tab tat the theme layer to process. | 1 |