configuration = new PageConfiguration(); return $this->configuration ->setBlock('title', 'Trinity\Bundle\ContentManagerBundle\Form\Type\BlockType') ->setBlock('subtitle', 'Trinity\Bundle\ContentManagerBundle\Form\Type\BlockType') ->setBlock('content1', 'Trinity\Bundle\ContentManagerBundle\Form\Type\TinymceAdvancedBlockType') ->setBlock('editorial_blocks', 'Trinity\Bundle\EditorialBlockBundle\Form\Type\EditorialBlocksContainerBlockType') ->setBlock('slideshow', 'Trinity\Bundle\WidgetBundle\Form\Type\SlideshowItemsContainerBlockType') ; } public function __construct($template = null) { parent::__construct(null !== $template ? $template : 'TrinityContentManagerBundle::default.html.twig'); } public function getBlockEditorialBlocks() { return $this->getBlock('editorial_blocks'); } public function setBlockEditorialBlocks(Block $block) { return $this->setBlock($block); } public function setBlockFile(Block $block) { return $this->setBlock($block); } public function getBlockSlideshow() { return $this->getBlock('slideshow'); } public function setBlockSlideshow(Block $block) { return $this->setBlock($block); } }