public function DomainInterface::setHostname in Domain Access 8
Sets the hostname of the domain.
Parameters
string $hostname: The hostname value to set, in the format example.com.
1 method overrides DomainInterface::setHostname()
- Domain::setHostname in domain/
src/ Entity/ Domain.php - Sets the hostname of the domain.
File
- domain/
src/ DomainInterface.php, line 176
Class
- DomainInterface
- Provides an interface defining a domain entity.
Namespace
Drupal\domainCode
public function setHostname($hostname);