public function renderContainer(
        PhpRenderer $view,
        $name,
        $revisionId = null
    ) {
        $site = $this->getSite($view);

        $container = $site->getContainer($name);

        $pluginHtml = '';

        if (!empty($container)) {
            if (empty($revisionId)) {
                $revision = $container->getPublishedRevision();
            } else {
                $revision = $container->getRevisionById($revisionId);
            }

            $pluginWrapperRows = $revision->getPluginWrappersByRow();

            if (!empty($pluginWrapperRows)) {
                $pluginHtml = $this->getPluginRowsHtml($view, $pluginWrapperRows);
            }

            $revisionId = $revision->getRevisionId();
        } else {
            $revisionId = -1;
        }

        // The front end demands rows in empty containers
        if (empty($pluginHtml)) {
            $pluginHtml .= '<div class="row"></div>';
        }

        return $this->getContainerWrapperHtml(
            $revisionId,
            $name,
            $pluginHtml,
            false
        );
    }