diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php index aa9b0d5..9ab60a4 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php @@ -60,6 +60,7 @@ public static function propertyDefinitions(FieldStorageDefinitionInterface $fiel * Defines allowed language codes for the field's AllowedValues constraint. * * @return string[] + * The allowed values. */ public static function getAllowedLanguageCodes() { return array_keys(\Drupal::languageManager()->getLanguages(LanguageInterface::STATE_ALL)); diff --git a/core/modules/user/src/Tests/UserEditTest.php b/core/modules/user/src/Tests/UserEditTest.php index 0ee9599..38acdb8 100644 --- a/core/modules/user/src/Tests/UserEditTest.php +++ b/core/modules/user/src/Tests/UserEditTest.php @@ -16,8 +16,16 @@ */ class UserEditTest extends WebTestBase { + /** + * Modules to enable. + * + * @var array + */ public static $modules = array('filter'); + /** + * {@inheritdoc} + */ protected function setUp() { parent::setUp();