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

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

Drupal 10 + React Axios, remove sign-in popup on anonymous user

Hello, Sorry I don't if this is an Drupal or React related issue, but I need help on removing this pop-up whenever an anonymous user enters my site.

Drupal 10 + React Axios, remove sign-in popup on anonymous user

Hello, Sorry I don't if this is an Drupal or React related issue, but I need help on removing this pop-up whenever an anonymous user enters my site.

Manually update Metatag module

Hi,

Since I'm not using Composer and don't plan and want to, I have to manually update modules, since (PITA) that option has been removed from latest versions of Drupal (using latest Drupal 11). Mostly there's a version I can download, unpack and then upload over the existing module. With Metatag that seems to be impossible or unadvised, reading this:

Argument #6 ($time) must be of type Drupal\Core\Datetime\TimeInterface, Drupal\Component\Datetime\Time given

Good morning,

Drupal: 10.5.2
PHP: 8.2

I'm getting in my helper with dependency injection:
__construct(): Argument #6 ($time) must be of type Drupal\Core\Datetime\TimeInterface, Drupal\Component\Datetime\Time given, called in /var/www/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261

I'm registering the services.yml in correct order:

checkbox widget conflicting label with form widget

I have a content type with checkbox widget. I defined the wedget definition through module.

$form['field_example_123']['widget']['value']['#title'] = t('some text <a href="@url" target="_blank">link text</a>.', ['@url' => '/test']);

The html is rendered as:

Pages

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