You are here

function entity_embed_command_editor_dialog_save in Entity Embed 7

Same name and namespace in other branches
  1. 7.2 includes/entity_embed.commands.inc \entity_embed_command_editor_dialog_save()

Creates a Drupal Ajax 'editor dialog save' command.

Parameters

string $values: The values that should be passed to the form constructor in Drupal.

Return value

An array suitable for use with the ajax_render() function.

1 call to entity_embed_command_editor_dialog_save()
submitEmbedForm in ./entity_embed.admin.inc
Form submission handler embeds selected entity in WYSIWYG.

File

includes/entity_embed.commands.inc, line 202
AJAX commands.

Code

function entity_embed_command_editor_dialog_save($values) {
  return array(
    'command' => 'editorDialogSave',
    'values' => $values,
  );
}