You are here

public function FieldInheritanceInterface::setSourceField in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/FieldInheritanceInterface.php \Drupal\field_inheritance\Entity\FieldInheritanceInterface::setSourceField()

Set the inheritance source field.

The inheritance source field.

Return value

$this

1 method overrides FieldInheritanceInterface::setSourceField()
FieldInheritance::setSourceField in src/Entity/FieldInheritance.php
Set the inheritance source field.

File

src/Entity/FieldInheritanceInterface.php, line 142

Class

FieldInheritanceInterface
Provides an interface for defining Field inheritance entities.

Namespace

Drupal\field_inheritance\Entity

Code

public function setSourceField($source_field);