1 field.block.inc static FieldBlock::formatterFormAjax($form, &$form_state)

Form #ajax callback used by FieldBlock::form().

File

core/modules/field/field.block.inc, line 278

Class

FieldBlock
FieldBlock extends Block

Code

static function formatterFormAjax($form, &$form_state) {
  $commands[] = ajax_command_replace('#formatter-settings', backdrop_render($form['formatter_settings']));
  return array(
    '#type' => 'ajax',
    '#commands' => $commands,
  );
}