Similar to the related issue having to do with the step info block, I've found it necessary to have some contextual information about the node being edited inside the msnf_block_step_info element added to the form. In this case I've provided the #node element from the $form, which may be a little stale but at least includes information like the nid and title, which help in testing against the node (e.g., is it new or existing?) so I can customize the text inside the element using the usual preprocess or theme templates.

CommentFileSizeAuthor
msnf-node-context-for-info-block.patch737 bytesbradjones1
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stBorchert’s picture

Status: Needs review » Closed (duplicate)

Marking this as duplicate of #2203413: Include $form_state in vars for msnf_block_step_info block, because $form_state includes information about the node you're creating/editing.