-
Custom 'no results' handler in Drupal 8 Views
I recently had a requirement to have different 'no results' text display under different circumstances on a Drupal 8 site I was working on. It was much simpler than I thought and I'll share the text snippet I used.
-
"Uncaught PHP Exception InvalidArgumentException: "$string ("") must be a string." when defining new permission in Drupal 8
I recently defined a new permission in a custom module in Drupal 8. When trying to access the permissions page to assign roles to the permission I got an error.