function PluginWithFormsInterface::hasFormClass

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass()
  2. 8.9.x core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass()
  3. 10 core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php \Drupal\Core\Plugin\PluginWithFormsInterface::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.

File

core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php, line 35

Class

PluginWithFormsInterface
Provides an interface for plugins which have forms.

Namespace

Drupal\Core\Plugin

Code

public function hasFormClass($operation);

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