public function getLayoutBlock($zone = null)
    {
        if (!is_null($zone)) {
            $layoutBlocks = $this->layoutBlock->filter(
                function ($layoutBlock) use ($zone) {
                    return $layoutBlock->getZone() == $zone && $layoutBlock->isActive();
                }
            );

            return array_merge($layoutBlocks->toArray());
        }

        return $this->layoutBlock;
    }