Drupal 8  8.0.2
RenderCacheTest Class Reference
Inheritance diagram for RenderCacheTest:

Public Member Functions

 testUser1PermissionContext ()
 
 testUser1RolesContext ()
 

Static Public Attributes

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

Protected Member Functions

 setUp ()
 
 doTestUser1WithContexts ($contexts)
 

Detailed Description

Tests the caching of render items via functional tests.

Render

Member Function Documentation

doTestUser1WithContexts (   $contexts)
protected

Ensures that user 1 has a unique render cache for the given context.

Parameters
string[]$contexts List of cache contexts to use.

References Drupal\service().

Referenced by RenderCacheTest\testUser1PermissionContext(), and RenderCacheTest\testUser1RolesContext().

Here is the call graph for this function:

Here is the caller graph for this function:

setUp ( )
protected

{}

testUser1PermissionContext ( )

Tests that user 1 has a different permission context with the same roles.

References RenderCacheTest\doTestUser1WithContexts().

Here is the call graph for this function:

testUser1RolesContext ( )

Tests that user 1 has a different roles context with the same roles.

References RenderCacheTest\doTestUser1WithContexts().

Here is the call graph for this function:


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