There is a problem. There is a multilingual node type with many translations? English is the default language.
And one needs to change the content of a field on some (not all) non-English translations upon changing this field on the English translation of the node.
I'm trying to do it using the hook_node_update hook (a variant of the hook_entity_update hook).
is anyone aware of where I can find a tutorial for module development for something like artist, album record hierarchy please ( Drupal 8/9)
I want to learn how to do add album to artist from the artist page and add record to album from the album page, so any assistance on where to go for a tutorial to make this kind of a custom module, or even where to get me started so I could then write my own tutorial would be fantastic
I am trying to export data as a txt file that is grouped by a taxonomy. I have tried using the module VIEWS DATA EXPORT but this does not allow you to group that data like the functionality in other views areas. (from what i can see.)
What i am looking to do is to create an export in the following layout, the record can have more than one taxonomy associated with them, so could appear more than once in the export file.
I have D8 module that works well. But I have a problem. Sensors data are stored there (in database tables).
In the website the cache is disabled, but the selected data are not updated. If I use the "drush cr" then ok, but the next selected data are not updated.
How can I solve this? I tried for example:
#
# data SQL SELECT form
#
function buildForm()
//...
$form['date_from'] = ...
$form['date_to'] = ...
$form['#cache'] = ['max-age' => 0];
/// ...