This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to disable database delete if Module uninstalled

I am working on an Critical Website. I want to not delete the Database if "Accidental Module uninstallation" happens. 

Which hook to use - to develop module, so that the database created does not get deleted by "Accidental Module Uninstallation"

We are implementing Auto-backup of Database tables through Cron job. But Also, want to implement Integrated feature - in worst case scenario if Module get deleted

Autocomplete Field

Hi Guys,

View with REST how to set root and child name

Hi friends,
I have a doubt, i've created a REST with View and i formated like JSON, but the output is like this:

[
{"item1":"123","item2":"123","item3":"123","item4":"","item5":"123","item5":"123"},	{"item1":"345","item2":"345","item3":"345","item4":"","item5":"345","item5":"345"}
]

And i need something like this:

Dynamic update Selection List field

I have to update a Selection List field (field_categoria - Entity Reference) dynamically according to the choice made in another Selection List (field_type_operation - Text List).
In the call Back I wrote this Code but it does not update the List
List of the field_category field.
I did the test directly in form_alter and it works for me

How to create a view, getting arguments by url?

Hi friends

I'm using drupal 8, I've created a content type with 3 languages translator,
and then i've created a REST export view and i added those fields,
but i would like to know how to get those items passing a parameter by url,

for example /news?language=en that will get the nodes that are in english,
and /news?language=fr that will get the nodes that are in french

how can i get that parameter and use it on my views to get that items?

Could you please help me?

Regards
Mario

How to submit a new module (and related questions)

Hi,

at my office we are preparing D7→D8/D9 migration. We make large use of Generic Jammer module (a submodule of https://www.drupal.org/project/jammer), which is not maintained anymore (and not ported to D8).

I rewrited this submodule, including many new features I created for Generic Jammer but which was never integrated. Still not ready for production, but all the features are present.

So my questions:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions