X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Fsrc%2FTests%2FTaxonomyTranslationTestTrait.php;h=98d5906fb9bee64f2e29dcb9850a1f96a881798d;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=644211714ac45d7b10575b81575a792426c407ba;hpb=bfbba508964731508b9bd6d5835c2edc858db95b;p=yaffs-website diff --git a/web/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php b/web/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php index 644211714..98d5906fb 100644 --- a/web/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php +++ b/web/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php @@ -5,9 +5,9 @@ namespace Drupal\taxonomy\Tests; @trigger_error(__NAMESPACE__ . '\TaxonomyTranslationTestTrait is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait', E_USER_DEPRECATED); 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. @@ -22,7 +22,7 @@ trait TaxonomyTranslationTestTrait { /** * The vocabulary. * - * @var \Drupal\taxonomy\Entity\Vocabulary; + * @var \Drupal\taxonomy\Entity\Vocabulary */ protected $vocabulary; @@ -78,10 +78,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 = [