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

Override Administrative Menu Title Created By Contributed Module

I would like to override a contributed modules menu title to something that better describes what it does in my use case. I do not want to use a hook. How do I do this in Drupal 10?

Error Extending Unknown Class in Custom Serializer

I have created a custom module that has a customized serializer for modifying some objects in the views Image.

However, I am encountering the following error:

Class Drupal\custom_serializer\Plugin\views\style\CustomSerializer extends unknown class Drupal\rest\Plugin\views\style\Serializer.

this is my code:
 

[Solved]How to instantiate a controller from a custom module

Hi team

I have the following issue:
I've created a module with a controller, and I've created another module with another controller. I've imported that controller there, but when I try to instantiate it, it shows the error: 'Instantiated class Drupal\custom_module\Controller\getItems not found.'

here is my code:

Get the original query parameter from Request

I need an Array of the query-parameters. However, when I tried to get all the query parameters via the request-object, it returned two parameters, that didn't belong there: "destination" and "_exception_statuscode". Is there a way to get the original query from the request object?

Is it possible to use webforms to adjust values in fields using ajax

Is it possible to use webforms to adjust values of fields based on other fields using ajax?

[Solved]Error in Drupal 10 Upgrade: Call to static method load() on an unknown class Drupal\entityqueue\Entity\EntitySubqueue

Hi team.
I'm using Entityqueue module with Drupal 9, and I am in the process of upgrading to Drupal 10. As part of this upgrade, I have installed the Upgrade Status module. However, I encountered the following issue:
Call to static method load() on an unknown class Drupal\entityqueue\Entity\EntitySubqueue.

In my code, I am using the following line:

Pages

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