/** * {@inheritdoc} */ protected function setDefaultOptions(OptionsResolverInterface $resolver) { parent::setDefaultOptions($resolver); $resolver->setDefaults(['grid_action_options' => ['type' => 'redirect', 'label' => 'Mass Edit', 'icon' => 'edit'], 'route' => 'pim_customentity_massedit', 'template' => 'PimCustomEntityBundle:CustomEntity:massEdit.html.twig', 'success_message' => sprintf('flash.%s.mass_updated', $this->configuration->getName())]); }
/** * {@inheritdoc} */ protected function setDefaultOptions(OptionsResolver $resolver) { parent::setDefaultOptions($resolver); $resolver->setDefaults(['template' => 'PimCustomEntityBundle:CustomEntity:quickcreate.html.twig']); }
/** * {@inheritdoc} */ protected function setDefaultOptions(OptionsResolver $resolver) { parent::setDefaultOptions($resolver); $resolver->setDefaults(['route' => 'pim_customentity_massedit', 'template' => 'PimCustomEntityBundle:CustomEntity:massEdit.html.twig', 'success_message' => sprintf('flash.%s.mass_updated', $this->configuration->getName())]); }