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.
Can someone tell me why the below code wouldn't be working in my Views filter? I'm trying to accomplish the following:
Show all content of this type if field_targetuser matches logged in user id, but ALSO show all content where field_universal = YES, regardless of what appears in the targetuser id (the logged in user).
I know there are plenty of "where to start" pages and other info, but I am hoping someone knowledgeable would be so kind to help me out with this. I am good with PHP and OOP but need some help with proper Drupal way of doing things (v8.1.1)
Could someone provide me with a rough list of API calls and concepts I would have to learn in order to make a module which does this:
My goal is to import my own data set into Drupal 8 using Migrate modules (migrate_plus, migrate_tools).
In drupal, I use Paragraph module, and here my trouble starts. I've build my own plugin to transform my own data into paragraph.I do import with base field like text, tags or file, and with this, the node will be generated, but I can't figure out why 'return $paragraphs' won't anything.
For Drupal 8, the entity reference field displayed in form is a textfield with auto-complete feature for you to select the entity, is it possible to have it be dropdown select list instead? I have tried using views as the reference method to check the possible solution, but without luck, someone can help me with this?