You are here

public function PluginBaseTest::providerTestGetBaseId in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php \Drupal\Tests\Component\Plugin\PluginBaseTest::providerTestGetBaseId()

Returns test data for testGetBaseId().

Return value

array

File

core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php, line 59

Class

PluginBaseTest
@coversDefaultClass \Drupal\Component\Plugin\PluginBase @group Plugin

Namespace

Drupal\Tests\Component\Plugin

Code

public function providerTestGetBaseId() {
  return [
    [
      'base_id',
      'base_id',
    ],
    [
      'base_id:derivative',
      'base_id',
    ],
  ];
}