function ConfigEntityMapperTest::testGetType
Same name in other branches
- 8.9.x core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::testGetType()
- 10 core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::testGetType()
- 11.x core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::testGetType()
Tests ConfigEntityMapper::getType().
File
-
core/
modules/ config_translation/ tests/ src/ Unit/ ConfigEntityMapperTest.php, line 174
Class
- ConfigEntityMapperTest
- Tests the functionality provided by the configuration entity mapper.
Namespace
Drupal\Tests\config_translation\UnitCode
public function testGetType() {
$result = $this->configEntityMapper
->getType();
$this->assertSame('configurable_language', $result);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.