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

Storing historical or reportable data in Drupal 8

I'm trying to figure out the best way to store data that will be used for reporting.  The results of some action on the site by a user.  In D7 I just used a custom table and queries, but I'd like to see if there's a better way with D8.  I also want to make sure it integrates well with Views.

user_login_finalize and set-cookie header

I'm trying to build a module that authenticates a user to Drupal based on a HTTP header added by a reverse proxy.

I read that Drupal 8 has a new authentication API, so I initially tried using that. I only half expected it to work, and sure enough, it only half worked: the user was authenticated, but could not submit any forms because (I guess) the CSRF token is linked to a session ID, which they didn't have.

Allow Users to Set Profiles to Private (Drupal 8)

I'm working on trying to allow users to hide their profile from other users or anonymous users. Unfortunately I haven't been able to find any way to do something like this. Would I need to develop my own module to do this? If so, what might I need to have to ensure I can make my module a success? I haven't built a module before, but I'm willing to give it a shot.

Where can I find "drush export" documentation?

Among others, Drush 9.3.0 lists these commands:

Entity.entity_name.collection link missing when creating a custom entity type

0 down vote favorite

I've been trying to programmatically create a custom entity type, yet I keep getting an error message I can't seem to figure out. Here is my code:

/src/Entity/Car.php

managed_file in ajax form

Hello everyone,

I have a problem with my ajax submit form

Pages

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