Revert "Revert "Issue #3254866 by benjifisher, alexpott: Update the...
Revert "Revert "Issue #3254866 by benjifisher, alexpott: Update the deprecation notices related to "Manage Permissions" pages""
This reverts commit dadbf881.
Changes for core/modules/field_ui/field_ui.services.yml: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -6,7 +6,7 @@ services:
-{name:event_subscriber}
field_ui.route_enhancer:
alias:route_enhancer.entity_bundle
deprecated:The "%alias_id%" service is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the "route_enhancer.entity_bundle" service instead. See https://www.drupal.org/node/3245017
deprecated:The "%alias_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the "route_enhancer.entity_bundle" service instead. See https://www.drupal.org/node/3245017
Changes for core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php: 2 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
@@ -2,14 +2,14 @@
namespaceDrupal\field_ui\Routing;
@trigger_error('The '.__NAMESPACE__.'\EntityBundleRouteEnhancer is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Instead, use \Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer. See https://www.drupal.org/node/3245017',E_USER_DEPRECATED);
@trigger_error('The '.__NAMESPACE__.'\EntityBundleRouteEnhancer is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Instead, use \Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer. See https://www.drupal.org/node/3245017',E_USER_DEPRECATED);
$this->expectDeprecation('The "field_ui.route_enhancer" service is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the "route_enhancer.entity_bundle" service instead. See https://www.drupal.org/node/3245017');
$this->expectDeprecation('The "field_ui.route_enhancer" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the "route_enhancer.entity_bundle" service instead. See https://www.drupal.org/node/3245017');
Changes for core/modules/field_ui/tests/src/Unit/FieldUiRouteEnhancerTest.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -19,7 +19,7 @@ class FieldUiRouteEnhancerTest extends UnitTestCase {
* class.
*/
publicfunctiontestDeprecation(){
$this->expectDeprecation('The Drupal\field_ui\Routing\EntityBundleRouteEnhancer is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Instead, use \Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer. See https://www.drupal.org/node/3245017');
$this->expectDeprecation('The Drupal\field_ui\Routing\EntityBundleRouteEnhancer is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Instead, use \Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer. See https://www.drupal.org/node/3245017');