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.

merge node

Hey
i need your help.

I must merge two or more nodes to one node.
Is this possible and have you a solution for that ?

Struggling with understanding Drupal 8 - how to grab what I need to use in a template file.

I keep running into cases with D8 where I cannot figure out how to grab what I need to use in a template file. In D7 it seems perhaps more straightforward where you just needed to track down a value in an array. In D8 it seems more involved, to understand classes used and methods you can use. I have used kint() but I really have trouble understanding the output to track down what I need.

How to setup Eclipse debug for remote Drupal 7

Hi all,
is it possible to debug a Drupal 7 module with Eclipse Neon?
Eclipse is on my pc (Windows) and the site is on a development instance on a virtual machine running Ubuntu 14.
I don't care about security issues because it is a development instance.

Thank you very much.

Claudio

D8 RESTful web services save return data?

First, sorry for my bad english.
I'm try to create custom resource with is code below, but drupal keep my first request return data.

Not able to run phpunit test

I am using Drupal 8.2.6 and trying to run phpunit tests. I have successfully installed phpunit 4.1.* using composer.
But when I am trying to run:

cd core
phpunit --testsuite=unit

I am getting following error:

PHP Fatal error: Call to undefined method Drupal\Tests\Component\Render\PlainTextOutputTest::prophesize() in /var/www/html/drupal/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php on line 50

Do anyone know what I am missing.

Thanks

Pages

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