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

Module to upload then edit content similar to creating an article

I really want to upload a content file, convert the content to Drupal article, then open the content in the article edit page.

How to find out the PHP version even without access to web hosting?

Hello,

In WordPress, it was possible to find out the PHP version with the help of various free plugins, so I didn't even need access to web hosting. Is there something like this in Drupal, please?

Thank you

New Module Glossary Tooltip

I´m creating a new Module but I have this error Error: Cannot unset string offsets in Drupal\Core\Field\WidgetBase->extractFormValues() (line 381 of core\lib\Drupal\Core\Field\WidgetBase.php). I´m newer in Drupal but I´ve experience in PHP need help for fix this , I´m working with Drupal 10

Module s3fs: configuration using IAM

Hello,

I wanted to understand how we can use IAM role to connect to an S3 bucket under s3fs module. Does the module currently support that?

Thanks

[solved] Error using dependency injection

I am working from this tutorial and I want to load a node entity in a Controller class.

The following construct (copied almost verbatim):

$entity = \Drupal::entityTypeManager()->getStorage('node')->load(1);

works as expected.

The same tutorial says:

Add uuid to entities after deployment

Hi,

I have a module with a bunch of entities : single_page and single_page_item. I use this module on several sites. When I created my module that declare these entities and use it, I didn't add the uuid value to it.

Now I would like to use it with linkit module and see that the entities MUST have uuid to be linked.

I ask myself how to add uuid to my entities and don't break my actual system. If anyone has some suggestions it would be very helpful because I'm not comfortable with adding new fields to entities after deployment...

Pages

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