示例#1
0
 /**
  * {@inheritDoc}
  */
 public function setOptions(ActionConfiguration $options)
 {
     if (empty($options['frontend_handle'])) {
         $options['frontend_handle'] = 'dialog';
     }
     return parent::setOptions($options);
 }
 /**
  * Add method to assert required route parameters
  */
 protected function assertHasRequiredOptions()
 {
     parent::assertHasRequiredOptions();
     $this->assertRequiredRouteParameters();
 }
 /**
  * {@inheritDoc}
  */
 public function setOptions(ActionConfiguration $options)
 {
     $options['frontend_type'] = 'dialog';
     return parent::setOptions($options);
 }