You are here

function microdata_get_default_field_mapping_callback in Microdata 7

Callback for "get-default-mappings" button.

This simply selects and returns the fieldset with the mapping in it.

1 string reference to 'microdata_get_default_field_mapping_callback'
microdata_form_field_ui_field_edit_form_alter in includes/microdata.form_alter.inc
Implements hook_form_FORM_ID_alter().

File

includes/microdata.form_alter.inc, line 320
Provides inline structured data using Microdata format.

Code

function microdata_get_default_field_mapping_callback($form, $form_state) {
  return $form['microdata'];
}