You are here

public function FieldInheritance::setType in Field Inheritance 8

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

Set the inheritance type.

The inheritance type.

Return value

$this

Overrides FieldInheritanceInterface::setType

File

src/Entity/FieldInheritance.php, line 193

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setType($type) {
  $this->type = $type;
  return $this;
}