You are here

public function FieldInstance::parent in Corresponding Entity References 7.3

Get or set the parent of this field instance.

File

field_object/includes/FieldInstance.inc, line 93

Class

FieldInstance

Code

public function parent(FieldInstance $parent = NULL) {
  if ($parent) {
    $this->parent = $parent;
  }
  return $this->parent;
}