Commit 8b1bfc8f authored by catch's avatar catch
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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));