/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['height'] = $form_state['values']['height']; $this->configuration['width'] = $form_state['values']['width']; }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['extension'] = $form_state->getValue('extension'); }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['landscape'] = $form_state->getValue('landscape'); $this->configuration['portrait'] = $form_state->getValue('portrait'); $this->configuration['ratio_adjustment'] = 1; }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, array &$form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['degrees'] = $form_state['values']['degrees']; $this->configuration['bgcolor'] = $form_state['values']['bgcolor']; $this->configuration['random'] = $form_state['values']['random']; }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['degrees'] = $form_state->getValue('degrees'); $this->configuration['bgcolor'] = $form_state->getValue('bgcolor'); $this->configuration['random'] = $form_state->getValue('random'); }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['placement'] = $form_state->getValue('placement'); $this->configuration['x_offset'] = $form_state->getValue('x_offset'); $this->configuration['y_offset'] = $form_state->getValue('y_offset'); $this->configuration['opacity'] = $form_state->getValue('opacity'); $this->configuration['watermark_image'] = $form_state->getValue('watermark_image'); }
/** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['font_uri'] = $form_state->getValue('font_uri'); $this->configuration['font_name'] = $this->fontSelector->getDescription($form_state->getValue('font_uri')); }