Elcodi\Admin\PluginBundle\Builder\PluginMenuBuilder::build PHP Метод

build() публичный Метод

Build the menu
public build ( Elcodi\Component\Menu\Entity\Menu\Interfaces\MenuInterface $menu )
$menu Elcodi\Component\Menu\Entity\Menu\Interfaces\MenuInterface Menu
    public function build(MenuInterface $menu)
    {
        $visiblePlugins = $this->filterVisiblePlugins();
        $this->buildByPluginCategory($menu->findSubnodeByName('plugin_type.payment'), $visiblePlugins, 'payment')->buildByPluginCategory($menu->findSubnodeByName('plugin_type.shipping'), $visiblePlugins, 'shipping')->buildByPluginCategory($menu->findSubnodeByName('plugin_type.social'), $visiblePlugins, 'social');
    }