You are here

public function RiddlerSettingsForm::addMoreCallback in Captcha Riddler 8

Submit callback for Add another riddle button.

Parameters

$form:

\Drupal\Core\Form\FormStateInterface $form_state:

Return value

mixed

File

src/Form/RiddlerSettingsForm.php, line 154

Class

RiddlerSettingsForm
Displays the Riddler settings form.

Namespace

Drupal\riddler\Form

Code

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