public function LinkCheckerLink::setParentEntityFieldName in Link checker 8
Sets a field name where the link was found.
Parameters
string $fieldName: Field name.
Return value
$this
Overrides LinkCheckerLinkInterface::setParentEntityFieldName
File
- src/
Entity/ LinkCheckerLink.php, line 202
Class
- LinkCheckerLink
- Defines the linkcheckerlink type entity.
Namespace
Drupal\linkchecker\EntityCode
public function setParentEntityFieldName($fieldName) {
$this
->set('entity_field', $fieldName);
return $this;
}