Track webforms linked through a webform block using a block field

Created on 21 January 2022, over 2 years ago
Updated 1 May 2024, 2 months ago

Problem/Motivation

The entity_usage modules provides an implementation for tracking block references using the block field, however in case of using a webform block that only tracks the usage of the webform block itself, but not which webform is being linked by it.

Steps to reproduce

Reference the webform block through a block field.
Reference a specific webform from the webform block from above.
Enable the tracking of webforms as target and the parent entity of the block field as source in the entity usage settings.
Update the usage statistics.
Check that no usage statistics have been gathered for the referneced webform by visisting admin/content/entity-usage/webform/{webform_id}.

Proposed resolution

Add a new plugin extending from the Block Field one for tracking webforms by checking whether the underlying block is a webform_block and if so retrieving the webform ID being referenced.

Remaining tasks

User interface changes

API changes

Data model changes

โœจ Feature request
Status

RTBC

Version

2.0

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany hchonov ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ง๐Ÿ‡ฌ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024