I have a problem with
entity URLs in D8. All of them are absolute instead of relative, which causes various problems. For example,link URLs to edit content on
/admin/content look like this:
- It's not theme-related issue
- I checked various custom classes implementing
OutboundRouteProcessorInterfaceand it seems, that none of them should affect this
What could be the cause, then?
EDIT: It's the same with all Drupal-generated links.
BTW. The issue can be seen by executing
use Drupal\Core\Link; $link = Link::createFromRoute('This is a link', 'entity.node.canonical', ['node' => 1])->toString(); print_r($link);
It should result in relative URL, in my case it's absolute one.