Drupal 8  8.0.2
TextFormatElementFormTest Class Reference
Inheritance diagram for TextFormatElementFormTest:

Public Member Functions

 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 testTextFormatElement ()
 
- Public Member Functions inherited from FormInterface
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Static Public Attributes

static $modules = ['system', 'user', 'filter', 'filter_test', 'editor']
 

Protected Member Functions

 setUp ()
 
 getUrl ()
 

Protected Attributes

 $testUser
 

Detailed Description

Tests PathElement validation and conversion functionality.

Form

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

getFormId ( )

{Returns a unique string identifying the form.

Returns
string The unique string identifying the form.
}

Implements FormInterface.

getUrl ( )
protected

{}

setUp ( )
protected

Sets up the test.

References Entity\create(), Entity\load(), and Drupal\service().

Here is the call graph for this function:

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

testTextFormatElement ( )

Tests that values are returned.

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

Form validation handler.

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

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