public function PluginBaseTest::providerTestGetDerivativeId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 92 - Contains \Drupal\Tests\Component\Plugin\PluginBaseTest.
Class
- PluginBaseTest
- @coversDefaultClass \Drupal\Component\Plugin\PluginBase @group Plugin
Namespace
Drupal\Tests\Component\PluginCode
public function providerTestGetDerivativeId() {
return array(
array(
'base_id',
NULL,
),
array(
'base_id:derivative',
'derivative',
),
);
}