This is my first time attempting such an approach, so don't insult me ;-)
I am trying to figure out how to pass multiple contextual filters (terms) by path to a view.
I found myself asking for bulk deletions of nodes and bulk creations of nodes (by importing data from a csv file).
As a result, a large number of nid values - the ones belonging to deleted nodes - are no longer in use, leaving a significant gap in the sequence of nid values for the remaining nodes.
I saw someone quite some time ago had already wondered how to handle the database sequence in this case. I haven't found a safe solution yet.
Should I just give up and live with that sort of waste of values I saw?
The manual recommend using Composer for Drupal 10.
When I removed some module from UI of my website, composer.lock and vendor/composer/installed.php still has the name of the module and its dependencies. So I have to run composer remove drupal/MODULEMACHINENAMEto solve the issue.
Is this normal process to need to run composer from terminal when you have removed/installed modules on the website?
A website I manage has a webform with a select field, set to country names. Due to the names of countries in our CRM, I needed to modify the name of a country to match the CRM. Rather than using a custom module with a hook, I've modified the list directly in CountryManager.php (core/lib/Drupal/Core/Locale/CountryManager.php).
The select list in the webform does not reflect the change. In other places we use a country list (such as a field in a node or entity), the list has not been updated either.
I am trying to optimize the node view and respective view(s) of a content that has three referenced term fields.
The last of these fields is a field that can contain either a real term or a “fake” term. When the term is a fake I would like to hide it in the node by acting on Twig, but I don't know the statement that should hide it by acting with {% if node.field_term_reference.value == ‘1’ %} or {% if node.field_term_reference.label == ’something' %}