X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FFunctional%2FTaxonomyTranslationTestTrait.php;h=36ac06954dc971ca501aa9022e898aeda3179ba0;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=fc3cea75eccd267760c8f1036eb12e221558d520;hpb=bfbba508964731508b9bd6d5835c2edc858db95b;p=yaffs-website diff --git a/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php b/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php index fc3cea75e..36ac06954 100644 --- a/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php +++ b/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php @@ -3,9 +3,9 @@ namespace Drupal\Tests\taxonomy\Functional; use Drupal\Core\Field\FieldStorageDefinitionInterface; -use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait; use Drupal\field\Entity\FieldStorageConfig; use Drupal\language\Entity\ConfigurableLanguage; +use Drupal\Tests\field\Traits\EntityReferenceTestTrait; /** * Provides common testing base for translated taxonomy terms. @@ -17,7 +17,7 @@ trait TaxonomyTranslationTestTrait { /** * The vocabulary. * - * @var \Drupal\taxonomy\Entity\Vocabulary; + * @var \Drupal\taxonomy\Entity\Vocabulary */ protected $vocabulary; @@ -73,10 +73,6 @@ trait TaxonomyTranslationTestTrait { /** * Adds term reference field for the article content type. - * - * @param bool $translatable - * (optional) If TRUE, create a translatable term reference field. Defaults - * to FALSE. */ protected function setUpTermReferenceField() { $handler_settings = [