class PrepareCallbackTestForm in Mobile Number 8
Same name and namespace in other branches
- 2.0.x src/Tests/PrepareCallbackTestForm.php \Drupal\mobile_number\Tests\PrepareCallbackTestForm
A test form used for the prepareCallback() tests.
Hierarchy
- class \Drupal\mobile_number\Tests\PrepareCallbackTestForm implements FormInterface
Expanded class hierarchy of PrepareCallbackTestForm
File
- src/
Tests/ PrepareCallbackTestForm.php, line 12
Namespace
Drupal\mobile_number\TestsView source
class PrepareCallbackTestForm implements FormInterface {
/**
* {@inheritdoc}
*/
public function getFormId() {
return Crypt::randomBytesBase64();
}
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state) {
}
/**
* {@inheritdoc}
*/
public function validateForm(array &$form, FormStateInterface $form_state) {
}
/**
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrepareCallbackTestForm:: |
public | function |
Form constructor. Overrides FormInterface:: |
|
PrepareCallbackTestForm:: |
public | function |
Returns a unique string identifying the form. Overrides FormInterface:: |
|
PrepareCallbackTestForm:: |
public | function |
Form submission handler. Overrides FormInterface:: |
|
PrepareCallbackTestForm:: |
public | function |
Form validation handler. Overrides FormInterface:: |