Implements Drupal messenger on Uninstall to let the users know that the EBT Slideshow was uninstalled but the Block Types weren't due to consistent reasons

Created on 2 April 2023, over 1 year ago
Updated 3 April 2023, over 1 year ago

Problem/Motivation

During the install of EBT Slideshow is created a Block Type with that functionality, and it's normal and is the same flow of other EBT projects. But on uninstall the EBT Slideshow block type isn't been removed due to consistence reasons since the user can have multiple custom blocks with this type. In order to give a feedback and transparency with site builders/ editors we're adding a message on Uninstall to let the users know that the EBT Slideshow has been uninstalled but the block type not because of the integrity and if the users needs there is a path to do it manually. As talked we can use Messenger instead of watchdog because after uninstall the module can not be used on filters of dblog

Steps to reproduce

Proposed resolution

  1. Implement a hook_uninstall
  2. Create a message that the EBT Slideshow was uninstalled but the block type not and put the path to do that manually if necessary
  3. Use the Drupal Messenger instead of Drupal Logger because the EBT Slideshow will be uninstalled on this case

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

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