You are here

public function FlexiformElement::toSettingsArray in Flexiform 7

Convert this object into a settings array.

5 calls to FlexiformElement::toSettingsArray()
FlexiformElementField::toSettingsArray in includes/element/field.element.inc
Overrides FlexifromElement::toSettingsArray();
FlexiformElementFlexiform::toSettingsArray in includes/element/flexiform.element.inc
Overrides FlexifromElement::toSettingsArray();
FlexiformElementUserMail::toSettingsArray in includes/element/user_mail.element.inc
Convert this object into a settings array.
FlexiformElementUserName::toSettingsArray in includes/element/user_name.element.inc
Convert this object into a settings array.
FlexiformElementUserPass::toSettingsArray in includes/element/user_pass.element.inc
Convert this object into a settings array.
5 methods override FlexiformElement::toSettingsArray()
FlexiformElementField::toSettingsArray in includes/element/field.element.inc
Overrides FlexifromElement::toSettingsArray();
FlexiformElementFlexiform::toSettingsArray in includes/element/flexiform.element.inc
Overrides FlexifromElement::toSettingsArray();
FlexiformElementUserMail::toSettingsArray in includes/element/user_mail.element.inc
Convert this object into a settings array.
FlexiformElementUserName::toSettingsArray in includes/element/user_name.element.inc
Convert this object into a settings array.
FlexiformElementUserPass::toSettingsArray in includes/element/user_pass.element.inc
Convert this object into a settings array.

File

includes/flexiform.element.inc, line 343
Controller class for flexiform elements.

Class

FlexiformElement
Base class for all FlexiformElements

Code

public function toSettingsArray() {
  $settings = array(
    'entity_namespace' => $this->entity_namespace,
    'element_name' => $this->element_name,
    'weight' => $this
      ->getWeight(),
    'label' => $this
      ->label(),
  ) + $this->settings;
  return $settings;
}