https://api.drupal.org/api/drupal/core%21includes%21file.inc/function/fi...
Transforms an absolute URL of a local file to a relative URL.
May be useful to prevent problems on multisite set-ups and prevent mixed content errors when using HTTPS + HTTP.
Parameters string
$file_url
: A file URL of a local file as generated byfile_create_url()
.Return value string If the file URL indeed pointed to a local file and was indeed absolute, then the transformed, relative URL to the local file. Otherwise: the original value of
$file_url
.
Recent comments
There's a few way to accomplish it, but it really depends on your full requirements. I'm working on a contact management module but it won't be released for a few months. There...
Pairing fields
I'm fairly sure that some people have done this successfully in Backdrop. Please can you list the modules you are using; that should help us get the right people to join this conversation.
How to render facet blocks?
Another content type for the addresses is a good option, and there are some more, for instance: Use the Address Field. If you already use Paragraphs (or are open...
Pairing fields