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

I need the correct hook for form modes control.

Hello. Can someone tell me a possibility or way to work and use the "form mode" of the entities, in drupal 9, the examples for drupal 8 no longer work with drupal 9. Code to use it in a custom module. I need to use them with a conditionality: user, field etc. I need the correct hook and the way to use it. Thanks.

Custom rest resource using Normalizer and Denormalizer

Hi all.

I have my custom entity created from the admin's Drupal 9 interface that also references to other custom entities.

For our decoupled front end, I am developing a module that adds custom resources to the core Rest Api (get, patch, and post):

Looker Integration in Drupal Website

How to embed Looker in drupal website so users can embed dynamic data tiles as content though iFrames.

Metatag robots not updating on nodes

Hi,

I am trying to update the metatag robots from "robots" to "index, follow" on nodes. But it is not updating for existing as well as new nodes. It's being reset to "robots" after saving the node.

Indeed the global configurations are already set to "index, follow". Why is this behaviour happening?

Distribution form

Hello I am writing a custom distribution. This distribution contains many modules, some of them I have set to be activated while the distribution is installed, and others it just installs but does not activate. I would like to add one or two pages of forms where you can select which modules to activate. I know that for this I can create the forms in the src/form/install folder and then in the .intall file specify what to do with the form data. But I don't really know how to do it. Can someone give me some tips on how to do it?

Thanks in advance.

in_array

Pages

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