You are here

public function FlexiformElementUserMail::toSettingsArray in Flexiform 7

Convert this object into a settings array.

Overrides FlexiformElement::toSettingsArray

File

includes/element/user_mail.element.inc, line 119
Contains class for the User mail element.

Class

FlexiformElementUserMail
Class to add the User mail field to a form.

Code

public function toSettingsArray() {
  $settings = parent::toSettingsArray();
  if (isset($this->settings['default_value'])) {
    $settings['default_value'] = $this->settings['default_value'];
  }
  return $settings;
}