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

A way to add 'classmap' and 'files' library records to system

Hi

Ludwig module is using 'container.namespaces' to add PSR-4 records of contributed modules to it. Here is the code:

Is there something like HOOK_pre_updatedb or similar

Hi

For Ludwig module purpose I would like to implement a hook which downloads and upacks all missing libraries of newly downloaded modules into appropriate module structure.

For that purpose Ludwig needs a hook which can be run when update.php script is initiated but before the actual database update is performed. Something like HOOK_pre_updatedb or similar.

The main point is that new libraries have to be in place before actual database update is performed.

Error with user ip - ipv6

Hello, a problem with user ip address module 

String data, right truncated: 1406 Data too long for column 'field_ip_user_ip_address'

Screenshots

https://yadi.sk/i/YsD23ejKNcTo0A

https://yadi.sk/i/cP_uSa8ErD0Tmw

I made field length in MySql - 255 (was 15), but as I know it's not a good idea.

Would be any fixes of this bug in new updates of drupal 7?

[SOLVED] Programmatically change URL aliases of nodes

To update a lot of old URL aliases and do them with the new format, you would run the following code:

Performing processing (encrypt / decrypt) when using REST API

Hello,

I need to have a hint for a Drupal 8 module(s) development that I try to do.

I will present here a quick overview and then I will stick to the problem I have.

Drupal 8.9.8 update custom entity name length

Now i want that name is a varchar(255) so i created a hook to update in mymodule.install

Pages

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