This is a follow-up from https://www.drupal.org/node/2572699#comment-12271753.
The line:for ($id = $original_id; $container->hasAlias($id); $id = (string) $container->getAlias($id));
should be more readable.
This is a follow-up from https://www.drupal.org/node/2572699#comment-12271753.
The line:for ($id = $original_id; $container->hasAlias($id); $id = (string) $container->getAlias($id));
should be more readable.