function PluginBaseTest::providerTestGetDerivativeId
Returns test data for testGetDerivativeId().
Return value
array An array of test cases, where each item contains a plugin ID and the expected derivative ID result.
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ PluginBaseTest.php, line 103
Class
Namespace
Drupal\Tests\Component\PluginCode
public static function providerTestGetDerivativeId() {
return [
[
'base_id',
NULL,
],
[
'base_id:derivative',
'derivative',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.