public function DomainInterface::getLink in Domain Access 8
Returns a URL object for a domain.
Parameters
bool $current_path: Indicates that the link should point to the path of the current request.
Return value
\Drupal\Core\Url A core URL object.
1 method overrides DomainInterface::getLink()
- Domain::getLink in domain/
src/ Entity/ Domain.php - Returns a URL object for a domain.
File
- domain/
src/ DomainInterface.php, line 144
Class
- DomainInterface
- Provides an interface defining a domain entity.
Namespace
Drupal\domainCode
public function getLink($current_path = TRUE);