You are here

function msnf_formatter_row_update in Multistep Nodeform 7

Update the row so that the step variables are updated.

The rendering of the elements needs the updated defaults.

Parameters

object $step: The step object.

array $settings: Configuration settings for the formatter.

1 call to msnf_formatter_row_update()
msnf_field_ui_overview_form_alter in includes/msnf.field_ui.inc
Function to alter the fields overview screen.

File

includes/msnf.field_ui.inc, line 395
msnf.field_ui.inc is a file that contains most functions needed on the Fields UI Manage forms (display and fields).

Code

function msnf_formatter_row_update(&$step, $settings) {

  // If the row has changed formatter type, update the step object.
  if (!empty($settings['format']['type']) && $settings['format']['type'] != $step->format_type) {
    $step->format_type = $settings['format']['type'];
    msnf_formatter_settings_update($step, $settings);
  }
}