In this article we learn how we can perform custom access control logic on Drupal entities other than nodes.
In this article we are going to explore a neat little technique of sorting complex logic with PHP's sorting functions.
So you are taking the plunge into learning Drupal 8 for the purpose of developing sites, modules, themes, etc. You're a great Drupal 7 developer, familiar with many drupalisms but you don't have tons of experience with modern PHP frameworks, principles and practices. Well, Drupal 8 still includes many of the old drupalisms but still attempts to keep in line with times and modernise itself.
In the previous article we've seen how we can interact programatically with Views in Drupal 8 in order to create a custom field in our Views results. Today, we will be looking a bit at how we can create a custom filter you can then add to the View in the UI and influence the results based on that.
In this article I am going to show you how to create a custom Views field in Drupal 8.
In this article we are going to explain concepts like dependency injection, containers and services. Although they sound complicated, they are really easy to grasp.
In this article I would like to share with you 4 tools that I use for Drupal development. I heavily rely on them to minimise frustration, increase productivity and lower development time.