Drupal 8  8.0.2
ExternalFormUrlTest Class Reference
Inheritance diagram for ExternalFormUrlTest:

Public Member Functions

 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 testActionUrlBehavior ()
 
- 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 = ['user', 'system']
 

Protected Member Functions

 setUp ()
 

Detailed Description

Ensures that form actions can't be tricked into sending to external URLs.

system

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.

setUp ( )
protected

{}

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

Here is the call graph for this function:

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

testActionUrlBehavior ( )

Tests form behaviour.

References Drupal\formBuilder(), and Drupal\service().

Here is the call graph for this function:

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

Field Documentation

$modules = ['user', 'system']
static

{}


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