Create a hook_update to set a description for paragraph type "EBT Counter Item" on sites that is already using

Created on 24 March 2023, over 1 year ago
Updated 25 March 2023, over 1 year ago

Problem/Motivation

Recently we created a description that was missing at paragraph type EBT Counter Item. We did it at Missing description on Paragraph type EBT Counter Item Fixed and now is working fine for the new users. In order to apply this new description for users that already have the ebt_counter installed we can create a hook_update with this since Drupal won't run yml files that is present on config/install folder

Steps to reproduce

Proposed resolution

  1. Create a hook_update_n
  2. Load the paragraph type
  3. Set the new description
  4. Save the entity

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
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