Devise\Pages\Interpreter\DvsPageData::addGroupNodes PHP Method

addGroupNodes() protected method

Adds the groups into the nodes. Groups are organized into categories. Some groups only have 1 category but it is possible to have many categories inside of a single group
protected addGroupNodes ( array $groups, array $nodes )
$groups array
$nodes array
    protected function addGroupNodes($groups, $nodes)
    {
        $index = 0;
        foreach ($groups as $name => $categories) {
            $nodes[] = $this->buildGroupNode('group' . $index++, $name, $categories);
        }
        return array($groups, $nodes);
    }