/** * Perform the show action for a block * * @param ReadBlockInterface $block * * @return Response */ public function show(ReadBlockInterface $block) { return $this->render('OpenOrchestraDisplayBundle:Block/AudienceAnalysis:' . $block->getAttribute('tag_type') . '.html.twig', array('attributes' => $block->getAttributes(), 'page' => $this->requestStack->getCurrentRequest()->attributes->get('nodeId'))); }
/** * Perform the show action for a block * * @param ReadBlockInterface $block * * @return Response */ public function show(ReadBlockInterface $block) { return $this->render('OpenOrchestraBackofficeBundle:Block/AudienceAnalysis:show.html.twig', array('attributes' => $block->getAttributes())); }