Drupal 8  8.0.2
FormTestController Class Reference
Inheritance diagram for FormTestController:

Public Member Functions

 twoFormInstances ()
 
 storageLegacyHandler ($form_build_id)
 

Detailed Description

Controller routines for form_test routes.

Member Function Documentation

storageLegacyHandler (   $form_build_id)

Emulate legacy AHAH-style ajax callback.

Drupal 6 AHAH callbacks used to operate directly on forms retrieved using ::formBuilder()->getCache() and stored using ::formBuilder()->setCache() after manipulation. This callback helps testing whether ::formBuilder()->setCache() prevents resaving of immutable forms.

References Drupal\formBuilder().

Here is the call graph for this function:

twoFormInstances ( )

Returns two instances of the node form.

Returns
string A HTML-formatted string with the double node form page content.

References Drupal\currentUser(), Drupal\entityManager(), and LanguageInterface\LANGCODE_NOT_SPECIFIED.

Here is the call graph for this function:


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