PrepareCallbackTestForm.php in Mobile Number 8
File
src/Tests/PrepareCallbackTestForm.php
View source
<?php
namespace Drupal\mobile_number\Tests;
use Drupal\Component\Utility\Crypt;
use Drupal\Core\Form\FormInterface;
use Drupal\Core\Form\FormStateInterface;
class PrepareCallbackTestForm implements FormInterface {
public function getFormId() {
return Crypt::randomBytesBase64();
}
public function buildForm(array $form, FormStateInterface $form_state) {
}
public function validateForm(array &$form, FormStateInterface $form_state) {
}
public function submitForm(array &$form, FormStateInterface $form_state) {
}
}