You are here

public function DomainPath::getAlias in Domain Path 8

Get alias for domain_path.

Return value

string Returns domain path alias.

Overrides DomainPathInterface::getAlias

File

src/Entity/DomainPath.php, line 173
Contains \Drupal\domain_path\Entity\DomainPath.

Class

DomainPath
Defines the DomainPath entity.

Namespace

Drupal\domain_path\Entity

Code

public function getAlias() {
  return $this
    ->get('alias')->value;
}