diff --git a/core/lib/Drupal/Core/Entity/EntityManager.php b/core/lib/Drupal/Core/Entity/EntityManager.php index c0fcb21..fe4c211 100644 --- a/core/lib/Drupal/Core/Entity/EntityManager.php +++ b/core/lib/Drupal/Core/Entity/EntityManager.php @@ -278,7 +278,7 @@ protected function getController($entity_type, $controller_type) { $this->controllers[$controller_type][$entity_type] = $class::createInstance($this->container, $this->getDefinition($entity_type)); } else { - $this->controllers[$controller_type][$entity_type] = new $class($entity_type, $this->getDefinition($entity_type)); + $this->controllers[$controller_type][$entity_type] = new $class($this->getDefinition($entity_type)); } } return $this->controllers[$controller_type][$entity_type];