public function PluginBaseTest::providerTestGetPluginId in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php \Drupal\Tests\Component\Plugin\PluginBaseTest::providerTestGetPluginId()
Returns test data for testGetPluginId().
Return value
array
File
- core/tests/ Drupal/ Tests/ Component/ Plugin/ PluginBaseTest.php, line 32 
Class
- PluginBaseTest
- @coversDefaultClass \Drupal\Component\Plugin\PluginBase @group Plugin
Namespace
Drupal\Tests\Component\PluginCode
public function providerTestGetPluginId() {
  return [
    [
      'base_id',
      'base_id',
    ],
    [
      'base_id:derivative',
      'base_id:derivative',
    ],
  ];
}