Account created on 10 June 2015, over 9 years ago
#

Recent comments

As per #5 suggestion, I updated the patch to add settings to the form to let users choose whether or not they want to use the Views title for the rows label.

This patch disable the rows_label field only as a visual aid to let users understand that the rows_label's value is not going to be used.

After upgrading our site to Drupal 10, I was getting warning saying that ${var} is now deprecated so I created the following patch to fix that.

Today I had to use callbacks which I created in a service class and it works exactly how you described it.

I had to look up the resolveCallback() method to better understand how it works but here's an example of how I implemented the service callback in my .yml file:

callback: service_name:method

Was pretty simple to implement. The only place where I was facing some difficulties is when I was trying to update the cron job that I already imported to my drupal website. I had to go through some loops of drush cex, drush deploy and clearing the cache from the UI also helped not making my cron job page crash. That last part is mostly due to my Docker setup but putting it out there in case someone else is facing the same issues.

This doesn't seem to be working on the site i'm currently working on which uses Drupal 9.5.9.

I'm getting the following error for each fields that contains dots:

"The machine-readable name must contain only letters, numbers, dashes and underscores."

Not sure why?

Sorry for the noise but I had to create a 2nd patch based on the 1.2 code.

My first patch was based on 1.x.

Production build 0.71.5 2024