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