You are here

public function Domain::getRawScheme in Domain Access 8

Returns the stored scheme value for a domain record.

This method is to be used with forms and when saving domain records. It returns the raw value (http|https|variable) of the domain's default scheme.

Return value

string Returns a stored scheme default (http|https|variable) for the record.

Overrides DomainInterface::getRawScheme

File

domain/src/Entity/Domain.php, line 444

Class

Domain
Defines the domain entity.

Namespace

Drupal\domain\Entity

Code

public function getRawScheme() {
  return $this->scheme;
}