* The route "name" which may also be an object or anything.
*
* @return bool
* TRUE if the passed in value a valid route, FALSE otherwise.
*
* @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Only string
* route names are supported.
*
* @see https://www.drupal.org/node/3172303
*/
publicfunctionsupports($name){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Only string route names are supported. See https://www.drupal.org/node/3172303',E_USER_DEPRECATED);
return$this->urlGenerator->supports($name);
}
/**
* {@inheritdoc}
* Gets either the route name or a string based on the route object.
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use the route name instead. See https://www.drupal.org/node/3172303',E_USER_DEPRECATED);
* The route "name" which may also be an object or anything.
*
* @return bool
* TRUE if the passed in value a valid route, FALSE otherwise.
*
* @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Only string
* route names are supported.
*
* @see https://www.drupal.org/node/3172303
*/
publicfunctionsupports($name){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Only string route names are supported. See https://www.drupal.org/node/3172303',E_USER_DEPRECATED);
// Support a route object and any string as route name.
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use the route name instead. See https://www.drupal.org/node/3172303',E_USER_DEPRECATED);
$this->expectDeprecation('Drupal\Core\Routing\UrlGenerator::getRouteDebugMessage() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use the route name instead. See https://www.drupal.org/node/3172303');
$this->expectDeprecation('Drupal\Core\Routing\UrlGenerator::supports() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Only string route names are supported. See https://www.drupal.org/node/3172303');