public function DomainPath::getLanguageCode in Domain Path 8
Get language code for domain_path.
Return value
string Returns domain path language code.
Overrides DomainPathInterface::getLanguageCode
File
- src/Entity/ DomainPath.php, line 183 
- Contains \Drupal\domain_path\Entity\DomainPath.
Class
- DomainPath
- Defines the DomainPath entity.
Namespace
Drupal\domain_path\EntityCode
public function getLanguageCode() {
  return $this
    ->get('language')->value;
}