framework/RedKiteCms/Rendering/Toolbar/ToolbarManager.php
public function render()
    {
        $plugins = $this->pluginManager->getBlockPlugins();

        $toolbar = array();
        $left[] = $this->twig->render("RedKiteCms/Resources/views/Editor/Toolbar/_toolbar_left_buttons.html.twig");
        $right[] = $this->twig->render("RedKiteCms/Resources/views/Editor/Toolbar/_toolbar_right_buttons.html.twig");
        foreach ($plugins as $plugin) {
            if (!$plugin->hasToolbar()) {
                continue;
            }

            $left[] = $this->addButtons($plugin, 'left');
            $right[] = $this->addButtons($plugin, 'right');
        }

        $toolbar["left"] = implode("\n", $left);
        $toolbar["right"] = implode("\n", $right);

        return $toolbar;
    }
public function render()
    {
        $plugins = $this->pluginManager->getBlockPlugins();

        $toolbar = array();
        $left[] = $this->twig->render("RedKiteCms/Resources/views/Editor/Toolbar/_toolbar_left_buttons.html.twig");
        $right[] = $this->twig->render("RedKiteCms/Resources/views/Editor/Toolbar/_toolbar_right_buttons.html.twig");
        foreach ($plugins as $plugin) {
            if (!$plugin->hasToolbar()) {
                continue;
            }

            $left[] = $this->addButtons($plugin, 'left');
            $right[] = $this->addButtons($plugin, 'right');
        }

        $toolbar["left"] = implode("\n", $left);
        $toolbar["right"] = implode("\n", $right);

        return $toolbar;
    }
Renders the toolbar

@return string