You are here

public function LinkCheckerLink::getParentEntityFieldName in Link checker 8

Gets a field name where the link was found.

Return value

string Field name.

Overrides LinkCheckerLinkInterface::getParentEntityFieldName

File

src/Entity/LinkCheckerLink.php, line 195

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function getParentEntityFieldName() {
  return $this
    ->get('entity_field')->value;
}