private function SubdomainMethod::getBaseHost in Persistent URL 8
3 calls to SubdomainMethod::getBaseHost()
- SubdomainMethod::contains in src/
Plugin/ Purl/ Method/ SubdomainMethod.php - SubdomainMethod::enterContext in src/
Plugin/ Purl/ Method/ SubdomainMethod.php - SubdomainMethod::exitContext in src/
Plugin/ Purl/ Method/ SubdomainMethod.php
File
- src/
Plugin/ Purl/ Method/ SubdomainMethod.php, line 42
Class
- SubdomainMethod
- Plugin annotation @PurlMethod( id="subdomain", name="Subdomain" )
Namespace
Drupal\purl\Plugin\Purl\MethodCode
private function getBaseHost() {
// Retrieve this from request context.
return 'apa.dev';
}