ComputerMinds.co.uk

Primary tabs

Articles from ComputerMinds.co.uk

I've recently been playing around on Windows 10's new Bash on Ubuntu feature, which provides a native bash linux shell for Windows.

In many cases, uniting routing with admin path definition makes things easier, but not when it comes to Views because their routes are generated dynamically. The solution I have come up with is to use a RouteSubscriber.

This article will explain how to formulate the route name for a view because there are very few sources for the information online.

We've been getting stuck into Drupal 8 development and have been grappling with the concepts of services, dependency inje

If you are trying to get to grips with Dependency Injection in Drupal 8 then here is a walk-through of how I applied it in one of my Drupal 8 test projects.

For me this is the biggest unanswered question hanging over my development of Drupal 8 websites: How should I add config to a Drupal 8 site?

This article will provide plenty of options, but unfortunately no definitive answer.

Class Aliasing is the simple, but very useful solution to the problem of needing to use two classes (from different namespaces) with the same name.

This article will talk you through the steps to follow to write a simple PHPUnit functional (Kernel) test for Drupal 8.

In Drupal 7 if you wanted to tweak the functionality of an existing function then an alter hook was your best friend, but in Drupal 8 it's "all change!"

Making an accurate, responsive node preview for Drupal 7

Pages