public function LinkCheckerLink::getParentEntityLangcode in Link checker 8
Gets a langcode of entity translation where the link was found.
Return value
string Langcode.
Overrides LinkCheckerLinkInterface::getParentEntityLangcode
File
- src/
Entity/ LinkCheckerLink.php, line 210  
Class
- LinkCheckerLink
 - Defines the linkcheckerlink type entity.
 
Namespace
Drupal\linkchecker\EntityCode
public function getParentEntityLangcode() {
  return $this
    ->get('entity_langcode')->value;
}