Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I´m creating a new Module but I have this error Error: Cannot unset string offsets in Drupal\Core\Field\WidgetBase->extractFormValues() (line 381 of core\lib\Drupal\Core\Field\WidgetBase.php). I´m newer in Drupal but I´ve experience in PHP need help for fix this , I´m working with Drupal 10
I have a module with a bunch of entities : single_page and single_page_item. I use this module on several sites. When I created my module that declare these entities and use it, I didn't add the uuid value to it.
Now I would like to use it with linkit module and see that the entities MUST have uuid to be linked.
I ask myself how to add uuid to my entities and don't break my actual system. If anyone has some suggestions it would be very helpful because I'm not comfortable with adding new fields to entities after deployment...
I'm a bit of a veteran PHP developer and have maintained and kept my own CMS going for 20 years now. (Originally written in perl!!!!) I know the naysayers will tell me "just use something already out there" but it is a (sick) hobby of mine and I wish to integrate my CMS with a drupal base for security that Drupal provides.
My employer went to Drupal 3 years ago. My role in my career is to not only use it, but I am also an instructor to teach our department 'web champions' how to use the Drupal CMS we have. So, I know the ins and outs of Drupal on the front end.
I'm new at using Drupal, I'm trying to generate a table with different colored rows, based on a status variable, so I created a class based on that status.