I have a need to use block deltas that are the same between different Drupal installs. Webform currently uses the node id in the delta.

Created a patch that uses the node's UUID as the block delta. By default "client-block-{$nid}" is used. An admin. advanced setting changes webform so that UUIDs are used instead.

Note: Since deltas are limited to 32 characters, the UUID has the dashes removed to take it from 36 to 32 characters.

Comments

andy.s.clark’s picture

StatusFileSize
new3.78 KB
quicksketch’s picture

Status: Needs review » Closed (won't fix)

This functionality is way too feature-specific. If you're interested in collaborating on #837594: Give a machine name to webform and use it for theming, exports, features, form IDs, etc., that would be a better approach.

dagomar’s picture

Yes, this is feature specific, but it does work. It would be great to have this functionality.

StrVL’s picture

Issue summary: View changes
StatusFileSize
new3.75 KB

Hello! Here is a patch for 7.x-4.x. I did not want to create new issue, so it is placed here just for downloading.

StrVL’s picture

StatusFileSize
new3.77 KB

Added a little fix for warning "Only variables should be passed by reference <...>".