function TestPluginWithForm::hasFormClass
Gets whether the plugin has a form class for the given operation.
Parameters
string $operation: The name of the operation.
Return value
bool TRUE if the plugin has a form class for the given operation.
Overrides PluginWithFormsInterface::hasFormClass
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconPackExtractorFormTest.php, line 117
Class
- TestPluginWithForm
- Test class for form.
Namespace
Drupal\Tests\Core\Theme\IconCode
public function hasFormClass($operation) : bool {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.