Drupal 8  8.0.2
PermissionAccessCheckTest Class Reference
Inheritance diagram for PermissionAccessCheckTest:

Public Member Functions

 providerTestAccess ()
 
 testAccess ($requirements, $access, array $contexts=[])
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Data Fields

 $accessCheck
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $container
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Routing AccessF

Member Function Documentation

providerTestAccess ( )

Provides data for the testAccess method.

Returns
array
setUp ( )
protected

{}

References Drupal\setContainer().

Here is the call graph for this function:

testAccess (   $requirements,
  $access,
array  $contexts = [] 
)

Tests the access check method.

providerTestAccess ::access

References AccessResult\allowedIf().

Here is the call graph for this function:


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