/** * @param string $code * @param string $class * @param string $baseControllerName * @param Pool $pool */ public function __construct($code, $class, $baseControllerName, Pool $pool) { parent::__construct($code, $class, $baseControllerName, $pool); $this->settings = []; $this->galleryProvider = null; $this->childGalleryProvider = null; }
protected function configureListFields(ListMapper $listMapper) { parent::configureListFields($listMapper); $listMapper->add('images4', null, array('template' => 'BrotherCMSBundle:Gallery:list_field_images.html.twig')); }