You are here

public function FlexiformElementField::toSettingsArray in Flexiform 7

Overrides FlexifromElement::toSettingsArray();

Overrides FlexiformElement::toSettingsArray

File

includes/element/field.element.inc, line 603
Contains FlexiformElementField class.

Class

FlexiformElementField
Class for Field API elements.

Code

public function toSettingsArray() {
  $settings = parent::toSettingsArray();
  $settings['type'] = 'field';
  $settings['field_name'] = $this->field_name;
  $settings['instance'] = $this->instance;
  $settings['field'] = $this->field;
  return $settings;
}