Change config name in the drupalSettings object to use machine name of block instead

Created on 8 August 2024, 4 months ago

Problem/Motivation

Config Name as a unique key for the drupalSettings.salesforce_mfw object is a weird concept. It would likely be better to key off of the unique identifier of the block plugin instance.

Steps to reproduce

Proposed resolution

Update block plugin to use the block plugin id (machine id) instead of config_name.
Update the module hook to also use the block->id() instead of config_name

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kyleleber

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024