diff --git a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/Type/SelectionPluginManager.php b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/Type/SelectionPluginManager.php index 1d7e0b0..7353ca7 100644 --- a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/Type/SelectionPluginManager.php +++ b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/Type/SelectionPluginManager.php @@ -36,7 +36,7 @@ public function __construct() { */ public function createInstance($plugin_id, array $configuration = array()) { try { - return parent::createInstance($plugin, $configuration); + return parent::createInstance($plugin_id, $configuration); } catch (PluginException $e) { return new SelectionBroken($configuration['field'], $configuration['instance'], $configuration['entity']); diff --git a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Comment.php b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Comment.php index 3638118..56f80ac 100644 --- a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Comment.php +++ b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Comment.php @@ -7,6 +7,8 @@ namespace Drupal\entityreference\Plugin\entityreference\selection; +use Drupal\Core\Annotation\Plugin; +use Drupal\Core\Annotation\Translation; use Drupal\Core\Database\Query\SelectInterface; use Drupal\entityreference\Plugin\entityreference\Selection\SelectionBase; diff --git a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/File.php b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/File.php index 4da75f4..54c9025 100644 --- a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/File.php +++ b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/File.php @@ -7,6 +7,8 @@ namespace Drupal\entityreference\Plugin\entityreference\selection; +use Drupal\Core\Annotation\Plugin; +use Drupal\Core\Annotation\Translation; use Drupal\Core\Database\Query\SelectInterface; use Drupal\entityreference\Plugin\entityreference\Selection\SelectionBase; diff --git a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Node.php b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Node.php index 3b12bc7..c74dcb1 100644 --- a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Node.php +++ b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Node.php @@ -7,6 +7,8 @@ namespace Drupal\entityreference\Plugin\entityreference\selection; +use Drupal\Core\Annotation\Plugin; +use Drupal\Core\Annotation\Translation; use Drupal\Core\Database\Query\SelectInterface; use Drupal\entityreference\Plugin\entityreference\Selection\SelectionBase; diff --git a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Term.php b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Term.php index 2b62d58..d262187 100644 --- a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Term.php +++ b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/Term.php @@ -7,6 +7,8 @@ namespace Drupal\entityreference\Plugin\entityreference\selection; +use Drupal\Core\Annotation\Plugin; +use Drupal\Core\Annotation\Translation; use Drupal\Core\Database\Query\SelectInterface; use Drupal\entityreference\Plugin\entityreference\Selection\SelectionBase; diff --git a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/User.php b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/User.php index 5e6403d..71400c1 100644 --- a/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/User.php +++ b/core/modules/entityreference/lib/Drupal/entityreference/Plugin/entityreference/selection/User.php @@ -7,6 +7,8 @@ namespace Drupal\entityreference\Plugin\entityreference\selection; +use Drupal\Core\Annotation\Plugin; +use Drupal\Core\Annotation\Translation; use Drupal\Core\Database\Database; use Drupal\Core\Database\Query\SelectInterface; use Drupal\entityreference\Plugin\entityreference\Selection\SelectionBase;