Drupal 8  8.0.2
EntityCreateAccessCheckTest Class Reference
Inheritance diagram for EntityCreateAccessCheckTest:

Public Member Functions

 providerTestAccess ()
 
 testAccess ($entity_bundle, $requirement, $access, $expected, $expect_permission_context=TRUE)
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Data Fields

 $entityManager
 

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 ()
 

Additional Inherited Members

- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Access Entity

Member Function Documentation

providerTestAccess ( )

Provides test data for testAccess.

Returns
array
setUp ( )
protected

{}

References Drupal\setContainer().

Here is the call graph for this function:

testAccess (   $entity_bundle,
  $requirement,
  $access,
  $expected,
  $expect_permission_context = TRUE 
)

Tests the method for checking access to routes.

providerTestAccess

References AccessResult\allowed(), and AccessResult\neutral().

Here is the call graph for this function:


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