public function Domain::buildUrl in Domain Access 8
Builds a link from a known internal path.
Parameters
string $path: A Drupal-formatted internal path, starting with /. Note that it is the caller's responsibility to handle the base_path().
Return value
string The built link.
File
- domain/
src/ Entity/ Domain.php, line 316
Class
- Domain
- Defines the domain entity.
Namespace
Drupal\domain\EntityCode
public function buildUrl($path) {
return $this
->getRawPath() . $path;
}