public function setOptions($parameters) { parent::setOptions($parameters); $this->options = array_merge($this->options, ['label' => isset($parameters['label']) ? $parameters['label'] : 'batch.delete.label', 'confirmMessage' => isset($parameters['confirmMessage']) ? $parameters['confirmMessage'] : 'batch.delete.message.confirm', 'translationDomain' => isset($parameters['translationDomain']) ? $parameters['translationDomain'] : 'EnhavoAppBundle']); }
public function setOptions($parameters) { parent::setOptions($parameters); $this->options = array_merge($this->options, ['label' => isset($parameters['label']) ? $parameters['label'] : 'newsletter.batch.action.send', 'confirmMessage' => isset($parameters['confirmMessage']) ? $parameters['confirmMessage'] : 'newsletter.batch.message.confirm.send', 'translationDomain' => isset($parameters['translationDomain']) ? $parameters['translationDomain'] : 'EnhavoNewsletterBundle', 'permission' => isset($parameters['permission']) ? $parameters['permission'] : 'ROLE_ENHAVO_NEWSLETTER_NEWSLETTER_SEND']); }