Drupal 8  8.0.2
FormController Class Reference
Inheritance diagram for FormController:

Public Member Functions

 getFormId ()
 
 __construct ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Protected Attributes

 $condition
 

Detailed Description

Routing controller class for condition_test testing of condition forms.

Constructor & Destructor Documentation

__construct ( )

Constructs a object.

References Drupal\cache(), Drupal\moduleHandler(), and Drupal\service().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{Form constructor.

Parameters
array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
Returns
array The form structure.
}

Implements FormInterface.

References t().

Here is the call graph for this function:

getFormId ( )

{Returns a unique string identifying the form.

Returns
string The unique string identifying the form.
}

Implements FormInterface.

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{Form submission handler.

Parameters
array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
}

Implements FormInterface.

References Entity\load(), and t().

Here is the call graph for this function:

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

Implements ::validateForm().

Implements FormInterface.


The documentation for this class was generated from the following file: