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.

[D8] Easier way to query this stuff?

Coming from Laravel's Eloquent, I am finding the Drupal 8 query builder to be quite cumbersome and awkward.

Consider the following query, which simply pulls in the user's UID, login name, email address, and real name:

Integration with SuccessFactors LMS

I have a client requirement where they want our drupal based website to be integrated with SuccessFactors LMS.
Will it be possible in Drupal 7?

Node content programmatically

Hello, I am using Drupal8

1. How can I get page content programmatically?
Lets say in my module to get content in this way
$node_content = \Drupal\method::load($node_id);

2. How can I get a list of published node ids programmatically?

print_r not working, among other things

Hello, I am new to drupal.
Trying to build my website when i stumbled upon a few problems. One of the being that the link field didn't provide me with everything I wanted.
So I looked things up and noticed that hooks could provide me with the problems. It seems easy enough to change (set the same Link text to the same kind of links (different url's)).
So I watched some tutorials, read stuff here and there.
So my first issue was now, What hook do I use to change it? And what fields and values do I need to change.

[SOLVED] [D8] Flakey EventSubscriber!

I'm pretty sure this has to do with caching, either on the client side, or the server side (I am running Redis as a backend cache). But ...

I have a custom module I am writing, and have subscribed as follows:

Pages

Subscribe with RSS Subscribe to RSS - Module Development and Code Questions