You are here

public function FieldInstance::child in Corresponding Entity References 7.3

Get or set the child of this field instance.

File

field_object/includes/FieldInstance.inc, line 103

Class

FieldInstance

Code

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