You are here

public function PluginBaseTest::providerTestGetPluginId in Zircon Profile 8

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

Returns test data for testGetPluginId().

Return value

array

File

core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php, line 37
Contains \Drupal\Tests\Component\Plugin\PluginBaseTest.

Class

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

Namespace

Drupal\Tests\Component\Plugin

Code

public function providerTestGetPluginId() {
  return array(
    array(
      'base_id',
      'base_id',
    ),
    array(
      'base_id:derivative',
      'base_id:derivative',
    ),
  );
}