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

Allow every role to access route except for one

I know that I could put something like:

permissions:
_role: role1+role2+role3

However, there's a fair few roles on the site, is there a way to specify all but one? I imagine I could make a custom access check service. but I was hoping for some succinct syntax if it exists. Thanks!

Problem with hook_theme_registry_alter(), new template is not used

Hello,
I want to overwrite a Twig template from a module, using hook_theme_registry_alter() function.
However, my new template is not used.

Here are the details of the configuration: The module is called katalogsuche

File ‘katalogsuche.modul’:

AEM Asset Integration

hi,

Is AEM asset  Supported on Drupal? I am looking to integrate AEM asset in Drupal CMS so I was wondering is someone has already done that or if there is any plugin to install to do that.

thanks

Reason for linking one-time-login link to login form

Hello,

when users request to reset the password, they get a mail with a link to the route user.reset. When opening the link, the users get redirected to route user.reset.form, where a login form is presented. Upon logging in, the users get to route user.reset.login, which checks the one-time hash and timestamp and redirects to route entity.user.edit_form, where the users can change their password.

In hook_form_alter, more that one ajax.

Hello.

I would like to know if there is any possibility to execute more than once ajax commands in hook_form_alter?

Controlled by if constructs?

I have a form that has to be quite dynamic, that has to act on the fields, visible/invisible through form #states or another possibility.

In short, there are 5 fields that have to be visible/invisible through the variables that receive the if constructions.

What is the most appropriate way for this process?

Who can help me to convert a php-script into a drupal (D9) module

Hi,

I have a little php-script that shows when people where born on my https://fredbaltus.nl (lower right corner) page. I want to put that script also in a block on my drupal-page, but despite all the examples it is not easy for me. I can understand it better when i see a sample with my own php-code. Who can help me?

Pages

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