function ConfigEntityTypeTest::providerTestGetConfigPrefix
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::providerTestGetConfigPrefix()
- 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::providerTestGetConfigPrefix()
- 10 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::providerTestGetConfigPrefix()
Provides test data.
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityTypeTest.php, line 143
Class
- ConfigEntityTypeTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Config%21Entity%21ConfigEntityType.php/class/ConfigEntityType/11.x" title="Provides an implementation of a configuration entity type and its metadata." class="local">\Drupal\Core\Config\Entity\ConfigEntityType</a> @group Config
Namespace
Drupal\Tests\Core\Config\EntityCode
public static function providerTestGetConfigPrefix() {
return [
[
[
'provider' => 'node',
'id' => 'node_type',
'config_prefix' => 'type',
],
'node.type',
],
[
[
'provider' => 'views',
'id' => 'view',
],
'views.view',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.