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.
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.
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 :)
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.
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.