Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / node / src / Plugin / EntityReferenceSelection / NodeSelection.php
index 906f15f3b54e3918621c7f2964bb2034bde0c8b1..2f26393c2e53a8acbfbc20f457c14b7dae1a5d41 100644 (file)
@@ -3,7 +3,6 @@
 namespace Drupal\node\Plugin\EntityReferenceSelection;
 
 use Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection;
-use Drupal\Core\Form\FormStateInterface;
 use Drupal\node\NodeInterface;
 
 /**
@@ -19,15 +18,6 @@ use Drupal\node\NodeInterface;
  */
 class NodeSelection extends DefaultSelection {
 
-  /**
-   * {@inheritdoc}
-   */
-  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
-    $form = parent::buildConfigurationForm($form, $form_state);
-    $form['target_bundles']['#title'] = $this->t('Content types');
-    return $form;
-  }
-
   /**
    * {@inheritdoc}
    */