You are here

public function SoundcloudForm::addButtonSubmit in Media entity Soundcloud 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/SoundcloudForm.php \Drupal\media_entity_soundcloud\Form\SoundcloudForm::addButtonSubmit()

File

src/Form/SoundcloudForm.php, line 131

Class

SoundcloudForm

Namespace

Drupal\media_entity_soundcloud\Form

Code

public function addButtonSubmit(array $form, \Drupal\Core\Form\FormStateInterface $form_state) {
  $this
    ->processInputValues([
    $form_state
      ->getValue('soundcloud_url'),
  ], $form, $form_state);
}