Skip to main content

All Questions

Tagged with
2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
51 views

How can I capture a field’s configs and storage so I can delete it and then re-create it?

I’m trying to implement this in a hook_update_N() but I’m not sure it’s proper (see excerpt below). Note I’m changing max_length in the process. What I'm trying to do: update my_custom_entity....
Bisonbleu's user avatar
  • 422
0 votes
0 answers
754 views

How to delete configurations when module is uninstalled?

We have a custom module mymodule that has the following structure. It basically has a configuration object that we are using in a mymodule_preprocess_node() call to do some logic and display certain ...
usernameabc's user avatar
  • 2,768