Same name in other branches
  1. 4.x src/TabRendererInterface.php \Drupal\quicktabs\TabRendererInterface

Defines an interface for tab renderer plugins.

Hierarchy

  • interface \Drupal\quicktabs\TabRendererInterface extends \Drupal\Component\Plugin\PluginInspectionInterface

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

Title Sort descending Modifiers Object type Summary Overrides
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