You are here

interface TabRendererInterface in Quick Tabs 8.3

Defines an interface for tab renderer plugins.

Hierarchy

Expanded class hierarchy of TabRendererInterface

All classes that implement TabRendererInterface

File

src/TabRendererInterface.php, line 11

Namespace

Drupal\quicktabs
View 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

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
TabRendererInterface::optionsForm public function Return form elements used on the edit/add from. 1
TabRendererInterface::render public function Return a render array for the whole Quick Tabs instance. 1