/**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(OptionsResolver $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setRequired(['form_type', 'success_message']);
     $action = $this->actionFactory->getAction($this->configuration->getName(), 'index');
     $resolver->setDefaults(['form_options' => [], 'template' => 'PimCustomEntityBundle:CustomEntity:form.html.twig', 'redirect_route' => $action->getRoute(), 'redirect_route_parameters' => $action->getRouteParameters(), 'save_options' => []]);
 }
 /**
  * {@inheritdoc}
  */
 protected function getDefaultTemplateVars()
 {
     return parent::getDefaultTemplateVars() + ['datagridName' => $this->options['datagrid_name']];
 }
 /**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['route' => 'pim_customentity_show']);
 }
 /**
  * {@inheritdoc}
  */
 protected function setDefaultOptions(OptionsResolver $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['route' => 'pim_customentity_index', 'quick_create' => false, 'quick_create_action_type' => 'create', 'template' => 'PimCustomEntityBundle:CustomEntity:index.html.twig', 'row_actions' => ['edit', 'delete'], 'mass_actions' => []]);
 }