You are here

public function RiddlerSettingsForm::removeCallback in Captcha Riddler 8

Submit callback for remove a riddle button.

Parameters

$form:

\Drupal\Core\Form\FormStateInterface $form_state:

Return value

mixed

File

src/Form/RiddlerSettingsForm.php, line 177

Class

RiddlerSettingsForm
Displays the Riddler settings form.

Namespace

Drupal\riddler\Form

Code

public function removeCallback(&$form, FormStateInterface $form_state) {
  return $form['riddler'];
}