public function PluginWithFormsInterface::getFormClass in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php \Drupal\Core\Plugin\PluginWithFormsInterface::getFormClass()
- 10 core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php \Drupal\Core\Plugin\PluginWithFormsInterface::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.
File
- core/
lib/ Drupal/ Core/ Plugin/ PluginWithFormsInterface.php, line 24
Class
- PluginWithFormsInterface
- Provides an interface for plugins which have forms.
Namespace
Drupal\Core\PluginCode
public function getFormClass($operation);