You are here

public function RetinaImageEffectTrait::submitConfigurationForm in Retina Images 8

File

src/RetinaImageEffectTrait.php, line 117
Provides shared helpers for all retina image effects.

Class

RetinaImageEffectTrait
Provides shared helpers for all retina image effects.

Namespace

Drupal\retina_images

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['retinafy'] = $form_state
    ->getValue('retinafy');
  $this->configuration['multiplier'] = $form_state
    ->getValue('retina_multiplier');
  parent::submitConfigurationForm($form, $form_state);
}