You are here

public function FlexiformElementUserPass::toSettingsArray in Flexiform 7

Convert this object into a settings array.

Overrides FlexiformElement::toSettingsArray

File

includes/element/user_pass.element.inc, line 86
Contains class for the User pass element.

Class

FlexiformElementUserPass
Class to add the node title field to a form.

Code

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