コード例 #1
0
 /**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setRequired(['template']);
     $resolver->setDefaults(['base_template' => 'PimCustomEntityBundle::layout.html.twig']);
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(OptionsResolver $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['route' => 'pim_customentity_delete']);
 }
コード例 #3
0
 /**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(OptionsResolver $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setRequired(['template']);
     $resolver->setDefaults(['base_template' => 'PimEnrichBundle::layout.html.twig']);
 }
コード例 #4
0
 /**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(\Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['route' => 'pim_customentity_delete', 'grid_action_options' => ['type' => 'delete', 'label' => 'Delete', 'icon' => 'trash']]);
 }