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

Taxonomy and entity reference within it

I have added a taxonomy list and created an entity reference field within that taxonomy list under "manage fields". The idea was to set the default value of the field to an existing node. Now in the twig I've been trying to retrieve the url. By default the taxonomy name selected is out put {{ content.field_db_product_type }} but my field name for the entity reference is field_product_type_link which should have the url to the content the field is populating. I just cannot get the field constructed correctly to allow me to get some of the values. 

Why so many arrays and not Objects?

Hi,

I'm new to Drupal and just started creating my first modules.
My knowledge of Drupal is therefor a bit limited at this time, which is also why I ask this question.

Coming from Laravel, everything is built with Objects and fluent interfaces which makes development a breeze.
I have IDE code completion and know which methods I can call, which datatypes are expected, returned etc. except for some interchangeable drivers/adapters.

Module D7 to D8 upgrade (String Overrides)

Hi community,

I'm a student at HoGent studying applied informatics.

For an assignment we have to upgrade a D7 module to D8.

I choose for the module called "string overrides" its a small module to convert strings in an easy way.

I don't have lots of drupal experience but i am willing to learn.

Does anyone have some links or "tips &tricks" to succesfully upgrade this module, or is willing to help on this?

Kind regards,

Alex pieters

Drupal Cache: When $allow_invalid=TRUE is used in get and getMultiple?

Hi all,

I am working on the migration of a dedicated cache implementation module from D7 to D8/9 and I haven’t found yet use cases for $allow_invalid=TRUE when we fetch a value from the caches (when an entry has been deleted, it seems logical to receive a FALSE as answer). And as this parameter is in the API, I suppose that it is used, but when?

If someone could give me some information about the use cases for $allow_invalid=TRUE, it would be really helpful in order to finish this migration :)

Best

How to structure the custom files in directories?

Hi,

I am developing an intranet for my company, in which data from trucks, customers, trips, drivers, etc. will be managed.

I want to develop this intranet in Drupal 8. I have a lot of experience in Drupal 7, but not in Drupal 8. I will do everything programmed, I will not use Drupal nodes.

I have read about the folder structure of a module in D8. I have read about the structure of a module's folders, but I have some basic doubts about how to structure the custom classes that I will create.

OpenStreetMap Map exports to svg

Hi!

I would like to export an image of a map OpenStreetMap from their cordenadas, which would in a node. I don't know very well how to do it because I don't see any functionality already done in Drupal about this.

Thnks!!

Pages

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