function TestPluginWithForm::getPluginDefinition

Gets the definition of the plugin implementation.

Return value

\Drupal\Component\Plugin\Definition\PluginDefinitionInterface|array The plugin definition, as returned by the discovery object used by the plugin manager.

Overrides PluginInspectionInterface::getPluginDefinition

File

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

Class

TestPluginWithForm
Test class for form.

Namespace

Drupal\Tests\Core\Theme\Icon

Code

public function getPluginDefinition() : array {
  return [];
}

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