Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Alias.php

function Alias::getDeprecation

Same name in this branch
  1. 11.1.x vendor/symfony/dependency-injection/Alias.php \Symfony\Component\DependencyInjection\Alias::getDeprecation()

Parameters

string $name Route name relying on this alias:

File

vendor/symfony/routing/Alias.php, line 84

Class

Alias

Namespace

Symfony\Component\Routing

Code

public function getDeprecation(string $name) : array {
    return [
        'package' => $this->deprecation['package'],
        'version' => $this->deprecation['version'],
        'message' => str_replace('%alias_id%', $name, $this->deprecation['message']),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal