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