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

My company drupal's gitlab account has been blocked

Hi,

My company drupal's gitlab account has been blocked, here is our repo: https://git.drupalcode.org/project/instapage_cms_plugin/project_members user: instapagedev. What can we do to get unblocked? What was the reason that we get blocked? 

Best regards,
KS

Error when I try to call a form

Hi,

here is my class

Error in ajax form depending of the theme used

My form works well with the main theme, but in seven (admin theme)  I get this error :
 

Deprecated: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Drupal\mais\Form\annuaireForm::usernameValidateCallback() should not be called statically in /home/almedest/public_html/dev/mais/core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php on line 69

I wonder if it's a callback reason (used of addCommand) or the call of the callback

callback :

How to access fields defined in Form.php

Hi,

I have created a module and create entity inside which call 'annuaire'
here are my files created for the entity :
annuaire.php
annuaireForm.php

in annuaire.php I define a field :

author information in page source

I am trying to hide my login page. There is a module to overwrite the user path for that (rename admin paths) and that works fine except that the  path to my login is displayed on basically every pages source.

For instance the class "comment__meta" in comments.html.twig prints the author information :  

<p class="comment__author"><span rel="schema:author"><span lang="" about="/hiddenlogin/myuser" typeof="schema:Person" property="schema:name" datatype="">myuser</span></span></p>

Nodejs integration does not work

Hello!
I need to install the nodejs module for the chatroom module. Node.js is installed on the server, drupal-nodejs is installed according to the instructions: https://github.com/beejeebus/drupal-nodejs, the config is below:

Pages

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