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