You are here

public function FieldInheritance::type in Field Inheritance 8

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

Get the inheritance type.

Return value

string The inheritance type.

Overrides FieldInheritanceInterface::type

File

src/Entity/FieldInheritance.php, line 129

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function type() {
  return isset($this->type) ? $this->type : NULL;
}