diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php index dd691bc..34aa09d 100644 --- a/core/lib/Drupal/Core/Entity/Entity.php +++ b/core/lib/Drupal/Core/Entity/Entity.php @@ -48,7 +48,6 @@ */ public function __construct(array $values, $entity_type) { $this->entityType = $entity_type; - // Set initial values. foreach ($values as $key => $value) { $this->$key = $value; @@ -262,7 +261,7 @@ public function language() { } /** - * Implements \Drupal\Core\Entity\EntityInterface::save(). + * {@inheritdoc} */ public function save() { return \Drupal::entityManager()->getStorageController($this->entityType)->save($this); diff --git a/core/modules/field/field.multilingual.inc b/core/modules/field/field.multilingual.inc index b300c61..68493c7 100644 --- a/core/modules/field/field.multilingual.inc +++ b/core/modules/field/field.multilingual.inc @@ -51,7 +51,6 @@ * - Provide a value in a different language as fallback. By default, the * fallback logic is applied separately to each field to ensure that there * is a value for each field to display. - * * The field language fallback logic relies on the global language fallback * configuration. Therefore, the displayed field values can be in the * requested language, but may be different if no values for the requested diff --git a/core/modules/user/lib/Drupal/user/UserStorageController.php b/core/modules/user/lib/Drupal/user/UserStorageController.php index d994b13..03d32b1 100644 --- a/core/modules/user/lib/Drupal/user/UserStorageController.php +++ b/core/modules/user/lib/Drupal/user/UserStorageController.php @@ -8,8 +8,6 @@ namespace Drupal\user; use Drupal\Component\Uuid\UuidInterface; -use Drupal\Core\Language\LanguageFallbackMapperInterface; -use Drupal\Core\Language\LanguageManager; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Password\PasswordInterface; use Drupal\Core\Database\Connection; @@ -58,8 +56,8 @@ class UserStorageController extends DatabaseStorageControllerNG implements UserS * @param \Drupal\user\UserDataInterface $user_data * The user data service. */ - public function __construct($entity_type, $entity_info, Connection $database, FieldInfo $field_info, UuidInterface $uuid_service, LanguageManager $languageManager, LanguageFallbackMapperInterface $language_fallback_mapper, PasswordInterface $password, UserDataInterface $user_data) { - parent::__construct($entity_type, $entity_info, $database, $field_info, $uuid_service, $languageManager, $language_fallback_mapper); + public function __construct($entity_type, $entity_info, Connection $database, FieldInfo $field_info, UuidInterface $uuid_service, PasswordInterface $password, UserDataInterface $user_data) { + parent::__construct($entity_type, $entity_info, $database, $field_info, $uuid_service); $this->password = $password; $this->userData = $user_data; @@ -75,8 +73,6 @@ public static function createInstance(ContainerInterface $container, $entity_typ $container->get('database'), $container->get('field.info'), $container->get('uuid'), - $container->get('language_manager'), - $container->get('language_fallback_mapper'), $container->get('password'), $container->get('user.data') ); diff --git a/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php b/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php index ef43a8a..6fccced 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php @@ -11,8 +11,6 @@ use Drupal\Core\Entity\EntityStorageControllerInterface; use Drupal\views\ViewExecutable; use Drupal\Core\Database\Database; -use Drupal\Core\Language\LanguageFallbackMapperInterface; -use Drupal\Core\Language\LanguageManager; use Drupal\Core\TypedData\TypedDataInterface; use Drupal\Core\Session\AccountInterface; use Drupal\views\Plugin\views\query\Sql; @@ -885,6 +883,7 @@ public function getExportProperties() { return $this->storage->getExportProperties(); } + /** * {@inheritdoc} */