Verified Commit 7a51238b authored by Dave Long's avatar Dave Long
Browse files

Issue #3403491 by Kingdutch, ankithashetty, BramDriesen, longwave, Berdir,...

Issue #3403491 by Kingdutch, ankithashetty, BramDriesen, longwave, Berdir, mglaman, quietone: Rename EntityReferenceTestTrait breaks multi-version testing

(cherry picked from commit 2f071240)
parent 7e998354
Loading
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\Tests\field\Traits;

@trigger_error('The ' . __NAMESPACE__ . '\EntityReferenceTestTrait is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Instead, use \Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait. See https://www.drupal.org/node/3401941', E_USER_DEPRECATED);

/**
 * Provides common functionality for the EntityReference test classes.
 *
 * @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use
 *    \Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait instead.
 *
 * @see https://www.drupal.org/node/3401941
 */
trait EntityReferenceTestTrait {

  use EntityReferenceFieldCreationTrait;

}