/** * @param ActionConfiguration $options */ public function setOptions(ActionConfiguration $options) { if (!isset($options['confirmation'])) { $options['confirmation'] = true; } parent::setOptions($options); }
/** * {@inheritDoc} */ public function setOptions(ActionConfiguration $options) { $options['frontend_type'] = 'redirect'; if (empty($options['route_parameters'])) { $options['route_parameters'] = []; } return parent::setOptions($options); }
/** * {@inheritDoc} */ public function setOptions(ActionConfiguration $options) { if (empty($options['frontend_type'])) { $options['frontend_type'] = 'mass'; } if (!empty($options['icon'])) { $options['launcherOptions'] = ['iconClassName' => 'icon-' . $options['icon']]; unset($options['icon']); } return parent::setOptions($options); }
/** * {@inheritDoc} */ public function setOptions(ActionConfiguration $options) { $options['frontend_type'] = 'ajax'; if (empty($options['route'])) { $options['route'] = 'oro_datagrid_mass_action'; } if (empty($options['route_parameters'])) { $options['route_parameters'] = []; } if (!isset($options['confirmation'])) { $options['confirmation'] = true; } return parent::setOptions($options); }