function TestPluginWithForm::getFormClass

Gets the form class for the given operation.

Parameters

string $operation: The name of the operation.

Return value

string|null The form class if defined, NULL otherwise.

Overrides PluginWithFormsInterface::getFormClass

File

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

Class

TestPluginWithForm
Test class for form.

Namespace

Drupal\Tests\Core\Theme\Icon

Code

public function getFormClass($operation) : string {
  return 'form_class';
}

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