Implement the hook_update to make the link field required by default on existing sites

Created on 3 March 2023, over 1 year ago

Problem/Motivation

In the issue 🐛 Behaviour allow the enduser create a ebt_bb without mandatory fields Fixed we make the field link on ebt_bb required by default and now in the config/install have the yml with this field as required so it'll works fine if any user install the ebt_bootstrap_button from the beginning (first time). But if the user already have the ebt_bootstrap_button installed the config won't be changed by default because updating will not read this yml config. The config/install folder is read only on install. To solve that we can implement a hook_update_N with the logic that will set this field as required for existent sites

Steps to reproduce

Proposed resolution

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