On uninstall remove the block type "ebt_bootstrap_button"

Created on 3 March 2023, over 1 year ago
Updated 4 March 2023, over 1 year ago

Problem/Motivation

When we install the ebt_bb the block type "ebt_bootstrap_button" is created, and it works fine. But when we uninstall the ebt_bb the block type "ebt_bootstrap_button" still there. I think we can remove the block type when the module is uninstalled just to avoid have unnecessary block types. We can implement the hook_uninstall to do this.
P.S. We can verify when the user already have custom blocks created using this block type. If there is a block using this block type we can skip and don't remove on this case.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs review

Version

1.4

Component

Code

Created by

🇧🇷Brazil renatog Campinas

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

Comments & Activities

Production build 0.71.5 2024