Generator/DoctrineCrudGenerator.php
protected function generateKanbanView($dir)
    {
        $this->renderFile('crud/views/kanban.html.twig.twig', $dir.'/kanban.html.twig', array(
            'bundle'            => $this->bundle->getName(),
            'entity'            => $this->entity,
            'fields'            => $this->metadata->fieldMappings,
            'actions'           => $this->actions,
            'route_prefix'      => $this->routePrefix,
            'route_name_prefix' => $this->routeNamePrefix,
        ));
    }
protected function generateKanbanView($dir)
    {
        $this->renderFile('crud/views/kanban.html.twig.twig', $dir.'/kanban.html.twig', array(
            'bundle'            => $this->bundle->getName(),
            'entity'            => $this->entity,
            'fields'            => $this->metadata->fieldMappings,
            'actions'           => $this->actions,
            'route_prefix'      => $this->routePrefix,
            'route_name_prefix' => $this->routeNamePrefix,
        ));
    }
Generates the show.html.twig template in the final bundle.

@param string $dir The path to the folder that hosts templates in the bundle