public function Field::setParent

Implements ContextAwareInterface::setParent().

Overrides ContextAwareInterface::setParent

File

drupal/core/lib/Drupal/Core/Entity/Field/Type/Field.php, line 222
Definition of Drupal\Core\Entity\Field\Type\Field.

Class

Field
An entity field, i.e. a list of field items.

Namespace

Drupal\Core\Entity\Field\Type

Code

public function setParent($parent) {
  $this->parent = $parent;
}