Commit 8b1bfc8f authored by catch's avatar catch

Issue #3165065 by sarvjeetsingh, Abhijith S, joachim: PluginWithFormsInterface...

Issue #3165065 by sarvjeetsingh, Abhijith S, joachim: PluginWithFormsInterface and PluginWithFormsTrait should reference each other in docs

(cherry picked from commit 32d6d3b4)
parent d69366ff
......@@ -8,7 +8,7 @@
trait PluginWithFormsTrait {
/**
* {@inheritdoc}
* Implements \Drupal\Core\Plugin\PluginWithFormsInterface::getFormClass().
*/
public function getFormClass($operation) {
if (isset($this->getPluginDefinition()['forms'][$operation])) {
......@@ -20,7 +20,7 @@ public function getFormClass($operation) {
}
/**
* {@inheritdoc}
* Implements \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass().
*/
public function hasFormClass($operation) {
return !empty($this->getFormClass($operation));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment