Commit aba8d4ec authored by M Parker's avatar M Parker
Browse files

Make it possible to add sub-tabs to Sankey examples.

parent d4dfd97f
......@@ -26,6 +26,16 @@ function d3_sankey_examples_menu() {
'type' => MENU_LOCAL_TASK,
// We want the Sankey tab to have sub-tabs so we can add examples for
// preprocessed data, but the default sub-tab needs to have the same settings
// as the parent tab, except for the type, title, and description.
$items['d3/examples/sankey/default'] = array(
'title' => 'Raw data',
'description' => 'Creates a Sankey chart by specifying raw data.',
'weight' => -1,
) + $items['d3/examples/sankey'];
return $items;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment