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

Azure API Management source code management

So, before accessing the real API endpoint, I've set a policy in Azure API Management that will cache tokens and self-authenticate. If there is a method to save these policies in a source control system, such as Azure DevOps or Github, and fetch them from there, or if the Azure site can handle source control, that would be great. Any suggestions or ideas would be greatly valued.

Webform rendered through entity on a page not showing up for unauthenticated users

I'm using drupal 7.55. I've added a webform on several pages using an entity reference of a webform. However, i'm not able to view it as an unauthenticated user but i can view it as authenticated user. 
I've carefully checked roles and permissions several times for this entity reference and it is set to admin role as well as anonymous users.
What else can i do regarding this ? Please help thanks.

Mystified by testing failure using GitLab CI tests

I have tried to move to the brand new GitLab CI for testing, following the guidelines on this documentation page.
Basically I've added a .gitlab-ci.yml, which is an exact copy of Drupal Association's template.gitlab-ci.yml (as renommended on that page). And, indeed, doing so automatically triggers a test pipeline. So far, so good.

Error after upgrading to Drupal 10

Hello, 

After upgrading to Drupal 10 i got an Error in the following function:

Can you please help me ? 

public function saveappointmentuser(){

        @$user_current = \Drupal::currentUser()->id();
        @$user_info_current = \Drupal\user\Entity\User::load(\Drupal::currentUser()->id());
        $userID_current = $user_info_current->uid->value;

Load field values from custom table into a custom edit form

I have created a custom edit form into which I want to load database field values as form field default values. 

Add ajax behavior on boolean field to change form mode

Hello,

I want to switch node's form mode by a toggle button (boolean field).

Here is my code:

Pages

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