public function FlexiformElementField::getField in Flexiform 7
Get the field array.
At this point we merge the field settings for the form into the normal field settings.
Overrides FlexiformElementFieldAPIInterface::getField
9 calls to FlexiformElementField::getField()
- FlexiformElementField::configureForm in includes/
element/ field.element.inc - Overrides FlexiformElement::configureForm().
- FlexiformElementField::configureFormSubmit in includes/
element/ field.element.inc - Overrides FlexiformElement::configureFormSubmit().
- FlexiformElementField::fieldInvoke in includes/
element/ field.element.inc - Invoke field hooks on a specific field.
- FlexiformElementField::form in includes/
element/ field.element.inc - Return the form element for this FlexiformElement.
- FlexiformElementField::formExtractValues in includes/
element/ field.element.inc - Overrides FlexiformElement::formExtractValues().
File
- includes/
element/ field.element.inc, line 186 - Contains FlexiformElementField class.
Class
- FlexiformElementField
- Class for Field API elements.
Code
public function getField() {
if (empty($this->full_field)) {
$field = field_info_field($this->field_name);
$this->full_field = array_replace_recursive($field, $this->field);
}
return $this->full_field;
}