for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Admingenerator\GeneratorBundle\Generator\Action\Batch;
use Admingenerator\GeneratorBundle\Builder\Admin\BaseBuilder;
use Admingenerator\GeneratorBundle\Generator\Action;
/**
* This class describes batch Delete action
* @author cedric Lombardot
* @author Piotr Gołębiewski <[email protected]>
*/
class DeleteAction extends Action
{
public function __construct($name, BaseBuilder $builder)
parent::__construct($name, 'batch');
$this->setIcon('fa-times');
$this->setLabel('action.batch.delete.label');
$this->setConfirm('action.batch.delete.confirm');
$this->setCsrfProtected(true);
}