Drupal 8  8.0.2
ContentLanguageSettingsUnitTest Class Reference
Inheritance diagram for ContentLanguageSettingsUnitTest:

Public Member Functions

 testCalculateDependencies ()
 
 testId ()
 
 testTargetEntityTypeId ()
 
 testTargetBundle ()
 
 testDefaultLangcode (ContentLanguageSettings $config, $expected)
 
 providerDefaultLangcode ()
 
 testLanguageAlterable (ContentLanguageSettings $config, $expected)
 
 providerLanguageAlterable ()
 
 testIsDefaultConfiguration (ContentLanguageSettings $config, $expected)
 
 providerIsDefaultConfiguration ()
 
 testLoadByEntityTypeBundle ($config_id, ContentLanguageSettings $existing_config=NULL, $expected_langcode, $expected_language_alterable)
 
 providerLoadByEntityTypeBundle ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

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

 $entityType
 
 $entityManager
 
 $entityTypeId
 
 $uuid
 
 $typedConfigManager
 
 $configEntityStorageInterface
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

language

Member Function Documentation

setUp ( )
protected

{}

References Drupal\entityManager(), UnitTestCase\randomMachineName(), and Drupal\setContainer().

Here is the call graph for this function:

testCalculateDependencies ( )

::calculateDependencies

References Drupal\entityManager().

Here is the call graph for this function:

testDefaultLangcode ( ContentLanguageSettings  $config,
  $expected 
)

::getDefaultLangcode ::setDefaultLangcode

providerDefaultLangcode

References ContentLanguageSettings\getDefaultLangcode().

Here is the call graph for this function:

testId ( )

::id

testIsDefaultConfiguration ( ContentLanguageSettings  $config,
  $expected 
)

::isDefaultConfiguration

providerIsDefaultConfiguration

References ContentLanguageSettings\isDefaultConfiguration().

Here is the call graph for this function:

testLanguageAlterable ( ContentLanguageSettings  $config,
  $expected 
)

::setLanguageAlterable ::isLanguageAlterable

providerLanguageAlterable

References ContentLanguageSettings\isLanguageAlterable().

Here is the call graph for this function:

testLoadByEntityTypeBundle (   $config_id,
ContentLanguageSettings  $existing_config = NULL,
  $expected_langcode,
  $expected_language_alterable 
)

::loadByEntityTypeBundle

providerLoadByEntityTypeBundle

References Drupal\entityManager(), and ContentLanguageSettings\loadByEntityTypeBundle().

Here is the call graph for this function:

testTargetBundle ( )

::getTargetBundle

testTargetEntityTypeId ( )

::getTargetEntityTypeId


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