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

a function implement hook_node_update get called twice when update an article

Hi,

I created a function implement hook_node_update. I want to do some work when an published article is getting update. here is my code:

Need help in adding OKTA widget in Drupal 8 application

I am using openid connect module but need to create OKTA widget. Anyone who has already done? 

How can I add prometheus custom collector?

I am using prometheus_exporter module and metrics are visible on /metrics. But how I can add my custom collectors on /metrics?

How to render a custom field in a view

Hi,

I create a module for generating a custom field in a view.

It works but the $phrase generate is not html because the sentence is contained in quotation marks.

Add SPAN to buildForm?

Hi. I want to apply some style to a form generated by Simple GSE module but I don't know how to do it in the template. I need to add a simple SPAN tag after the text field.

This is the code from SearchForm.php:

Automatic node creation every month

Hello everybody,

   I have created a node type that has a select option field, called notice. I want every month, on specific days with cron (if there is another way tell me), to check all nodes that have that field and create new nodes with some different data.

I have made the dynamic query that fetches all nodes:

Pages

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