function ConfigEntityTypeTest::testGetConfigPrefix
Same name and namespace in other branches
- 10 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::testGetConfigPrefix()
- 9 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::testGetConfigPrefix()
- 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::testGetConfigPrefix()
Tests the getConfigPrefix() method.
Attributes
#[DataProvider('providerTestGetConfigPrefix')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityTypeTest.php, line 140
Class
Namespace
Drupal\Tests\Core\Config\EntityCode
public function testGetConfigPrefix($definition, $expected) : void {
$entity_type = $this->setUpConfigEntityType($definition);
$this->assertSame($expected, $entity_type->getConfigPrefix());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.