protected function generateDeleteView($dir)
    {
        $this->renderFile('crud/views/delete.html.twig.twig', $dir.'/delete.html.twig', [
            'route_prefix'      => $this->routePrefix,
            'route_name_prefix' => $this->routeNamePrefix,
            'entity'            => $this->entity,
            'bundle'            => $this->bundle->getName(),
            'actions'           => $this->actions,
        ]);
    }
protected function generateDeleteView($dir)
    {
        $this->renderFile('crud/views/delete.html.twig.twig', $dir.'/delete.html.twig', [
            'route_prefix'      => $this->routePrefix,
            'route_name_prefix' => $this->routeNamePrefix,
            'entity'            => $this->entity,
            'bundle'            => $this->bundle->getName(),
            'actions'           => $this->actions,
        ]);
    }
protected function generateDeleteView ( $ dir ) { $ this -> renderFile ( 'crud/views/delete.html.twig.twig' , $ dir . '/delete.html.twig' , [ 'route_prefix' => $ this -> routePrefix , 'route_name_prefix' => $ this -> routeNamePrefix , 'entity' => $ this -> entity , 'bundle' => $ this -> bundle -> getName ( ) , 'actions' => $ this -> actions , ] ) ; }
Generates the delete.html.twig template in the final bundle.

@param string $dir The path to the folder that hosts templates in the bundle
Generates the delete . html . twig template in the final bundle .