In embeddable_pre_render_text_format, the $element is not properly altered with the embedded form (looks like perhaps a bad copy/paste from a page alter?).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

walkah’s picture

Status: Active » Needs review
FileSize
537 bytes

patch attached.

walkah’s picture

reworked this patch a bit to ... you know... work. the embeddable form shouldn't get embedded in an existing form, but rather be added once via page_alter. added a function to track whether or not the form should be embedded and moved the actual form creation to hook_page_alter.