Esempio n. 1
0
 public function configure($name, $options)
 {
     $options['model'] = $this->getOption('model', $options, CiteText::class);
     $options['parent'] = $this->getOption('parent', $options, CiteText::class);
     $options['form'] = $this->getOption('form', $options, CiteTextType::class);
     $options['factory'] = $this->getOption('factory', $options, CiteTextFactory::class);
     $options['repository'] = $this->getOption('repository', $options, 'EnhavoGridBundle:CiteText');
     $options['template'] = $this->getOption('template', $options, 'EnhavoGridBundle:Item:cite_text.html.twig');
     $options['label'] = $this->getOption('label', $options, 'citeText.label.citeText');
     $options['translationDomain'] = $this->getOption('translationDomain', $options, 'EnhavoGridBundle');
     return parent::configure($name, $options);
 }
Esempio n. 2
0
 public function configure($name, $options)
 {
     $options['model'] = $this->getOption('model', $options, Video::class);
     $options['parent'] = $this->getOption('parent', $options, Video::class);
     $options['form'] = $this->getOption('form', $options, VideoType::class);
     $options['factory'] = $this->getOption('factory', $options, VideoFactory::class);
     $options['repository'] = $this->getOption('repository', $options, 'EnhavoGridBundle:Video');
     $options['template'] = $this->getOption('template', $options, 'EnhavoGridBundle:Item:video.html.twig');
     $options['label'] = $this->getOption('label', $options, 'video.label.video');
     $options['translationDomain'] = $this->getOption('translationDomain', $options, 'EnhavoGridBundle');
     return parent::configure($name, $options);
 }
 public function configure($name, $options)
 {
     $options['model'] = $this->getOption('model', $options, PicturePicture::class);
     $options['parent'] = $this->getOption('parent', $options, PicturePicture::class);
     $options['form'] = $this->getOption('form', $options, PicturePictureType::class);
     $options['factory'] = $this->getOption('factory', $options, PicturePictureFactory::class);
     $options['repository'] = $this->getOption('repository', $options, 'EnhavoGridBundle:PicturePicture');
     $options['template'] = $this->getOption('template', $options, 'EnhavoGridBundle:Item:picture_picture.html.twig');
     $options['label'] = $this->getOption('label', $options, 'picturePicture.label.picturePicture');
     $options['translationDomain'] = $this->getOption('translationDomain', $options, 'EnhavoGridBundle');
     return parent::configure($name, $options);
 }
Esempio n. 4
0
 public function configure($name, $options)
 {
     $options['model'] = $this->getOption('model', $options, DownloadItem::class);
     $options['parent'] = $this->getOption('parent', $options, DownloadItem::class);
     $options['form'] = $this->getOption('form', $options, DownloadItemType::class);
     $options['factory'] = $this->getOption('factory', $options, DownloadFactory::class);
     $options['repository'] = $this->getOption('repository', $options, 'EnhavoDownloadBundle:DownloadItem');
     $options['template'] = $this->getOption('template', $options, 'EnhavoDownloadBundle:Item:download.html.twig');
     $options['label'] = $this->getOption('label', $options, 'download.label.download');
     $options['translationDomain'] = $this->getOption('translationDomain', $options, 'EnhavoGridBundle');
     return parent::configure($name, $options);
 }