function PluginBaseTest::providerTestGetBaseId
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php \Drupal\Tests\Component\Plugin\PluginBaseTest::providerTestGetBaseId()
- 8.9.x core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php \Drupal\Tests\Component\Plugin\PluginBaseTest::providerTestGetBaseId()
- 11.x core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php \Drupal\Tests\Component\Plugin\PluginBaseTest::providerTestGetBaseId()
Returns test data for testGetBaseId().
Return value
array
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ PluginBaseTest.php, line 61
Class
- PluginBaseTest
- @coversDefaultClass \Drupal\Component\Plugin\PluginBase @group Plugin
Namespace
Drupal\Tests\Component\PluginCode
public static function providerTestGetBaseId() {
return [
[
'base_id',
'base_id',
],
[
'base_id:derivative',
'base_id',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.