Drupal 8  8.0.2
DefaultConfigTest Class Reference
Inheritance diagram for DefaultConfigTest:

Public Member Functions

 testConfigIsEmpty ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Additional Inherited Members

- 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 inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Tests default configuration of the Extension system.

Extension

Member Function Documentation

testConfigIsEmpty ( )

Tests that core.extension.yml is empty by default.

The default configuration MUST NOT specify any extensions, because every extension has to be installed in a regular way.

Otherwise, the regular runtime application would operate with extensions that were never installed. The default configuration of such extensions would not exist. Installation hooks would never be executed.

References Drupal\root().

Here is the call graph for this function:


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