Example: Vertical Tabs

  1. drupal
    1. 8
    2. 6
    3. 7

Demonstrates the vertical tabs functionality provided by Drupal 7.

This example does not cover how to save / load custom setting, and only deals with elements visibility.

See also

vertical_tabs_example.js

Functions & methods

NameDescription
vertical_tabs_example_form_alterImplement hook_form_alter().
vertical_tabs_example_menuImplements hook_menu for a simple explanation page.
_vertical_tabs_example_explanationSimple explanation page.

examples/vertical_tabs_example/vertical_tabs_example.module, line 8