function TestPluginWithForm::getPluginId

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php \Drupal\Tests\Core\Theme\Icon\TestPluginWithForm::getPluginId()

Gets the plugin ID of the plugin instance.

Return value

string The plugin ID of the plugin instance.

Overrides PluginInspectionInterface::getPluginId

File

core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php, line 105

Class

TestPluginWithForm
Test class for form.

Namespace

Drupal\Tests\Core\Theme\Icon

Code

public function getPluginId() : string {
  return 'test';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.