Drupal 8  8.0.2
FormCacheTest Class Reference
Inheritance diagram for FormCacheTest:

Public Member Functions

 testCacheToken ()
 
 testNoCacheToken ()
 

Static Public Attributes

static $modules = array('system', 'user')
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $formBuildId
 
 $form
 
 $formState
 

Detailed Description

Tests ::formBuilder()->setCache() and ::formBuilder()->getCache().

Form

Member Function Documentation

testCacheToken ( )

Tests the form cache with a logged-in user.

References Drupal\currentUser(), Drupal\formBuilder(), and Drupal\state().

Here is the call graph for this function:

testNoCacheToken ( )

Tests the form cache without a logged-in user.

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

Here is the call graph for this function:


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