Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / src / Tests / Menu / AssertBreadcrumbTrait.php
index a18f45cd3f4bb3f4a123a26210ad044a5e90343d..41634b115ed0ccbce33fc8f4d23457c80779997a 100644 (file)
@@ -2,11 +2,16 @@
 
 namespace Drupal\system\Tests\Menu;
 
+@trigger_error(__NAMESPACE__ . '\AssertBreadcrumbTrait is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\system\Functional\Menu\AssertBreadcrumbTrait', E_USER_DEPRECATED);
+
 use Drupal\Component\Utility\Html;
 use Drupal\Core\Url;
 
 /**
  * Provides test assertions for verifying breadcrumbs.
+ *
+ * @deprecated Scheduled for removal in Drupal 9.0.0.
+ *   Use \Drupal\Tests\system\Functional\Menu\AssertBreadcrumbTrait instead.
  */
 trait AssertBreadcrumbTrait {