public function DomainInterface::isDefault in Domain Access 8
Detects if the current domain is the default domain.
Return value
bool TRUE if domain set as default, FALSE otherwise.
1 method overrides DomainInterface::isDefault()
- Domain::isDefault in domain/
src/ Entity/ Domain.php - Detects if the current domain is the default domain.
File
- domain/
src/ DomainInterface.php, line 32
Class
- DomainInterface
- Provides an interface defining a domain entity.
Namespace
Drupal\domainCode
public function isDefault();