class BankIDMockForm extends FormBase

Provides a form for mocking data in BankID responses.

Methods

__construct(BankIDMockClient $mockClient)

No description

static BankIDMockForm
create(ContainerInterface $container)

{@inheritdoc}

string
getFormId()

{@inheritDoc}

AjaxResponse
ajaxSubmit(array $form, FormStateInterface $form_state)

Ajax submit callback.

array
buildForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

void
submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Details

at line 17
__construct(BankIDMockClient $mockClient)

No description

Parameters

BankIDMockClient $mockClient

at line 24
static BankIDMockForm create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

Return Value

BankIDMockForm

at line 33
string getFormId()

{@inheritDoc}

Return Value

string

at line 48
AjaxResponse ajaxSubmit(array $form, FormStateInterface $form_state)

Ajax submit callback.

Parameters

array $form

An associative array containing the structure of the form.

FormStateInterface $form_state

The current state of the form.

Return Value

AjaxResponse

The ajax response.

at line 58
array buildForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state

Return Value

array

at line 109
void submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state

Return Value

void