I need fields with widget select to make some of them read-only.
I tried both with
$form['field_localita_missione']['widget']['#disabled'] = TRUE;
that with
$form['field_localita_missione']['#attributes']['readonly'] = TRUE;
The former works but does not save the data, while the latter does not work
I am representing an Agency and for keeping customers websites secure, we want to know if there exists for Drupal 8 and 9 a module allowing to give a passwordless access to en email address with a specific role to allow our agents to work on those website without keeping a permanent access to it ? This is useful for when one agent is leaving the agency, to not go from site to site to remove their access. So, their temporary access will be used only when there are tasks asigned to them and on defined time, it will self revoke.
Long story short, I need to get the headline and URL of each news story (so the <title> and <link> values in the RSS feed). Then save that into Drupal.