public function FlexiformElementFlexiform::toSettingsArray in Flexiform 7
Overrides FlexifromElement::toSettingsArray();
Overrides FlexiformElement::toSettingsArray
File
- includes/
element/ flexiform.element.inc, line 105 - Contains FlexiformElementFlexiform class.
Class
- FlexiformElementFlexiform
- Class to embed one flexiform inside another.
Code
public function toSettingsArray() {
$settings = parent::toSettingsArray();
$settings['type'] = 'flexiform';
$settings['form'] = $this->form;
$settings['label'] = $this
->label();
return $settings;
}