You are here

public function CerFieldChain::export in Corresponding Entity References 7.3

Returns a Features export pipe for this chain, including every field and field instance in it.

File

includes/CerFieldChain.inc, line 33
Contains the CerFieldChain class.

Class

CerFieldChain
@file Contains the CerFieldChain class.

Code

public function export() {
  $pipe = array();
  foreach ($this->chain as $field) {
    $pipe['field_instance'][] = "{$field->entityType}-{$field->bundle}-{$field->name}";
  }
  return $pipe;
}