Drupalize.Me: PHP Attributes for Drupal Plugins
As of PHP 8.1, the PHP language has native support for attributes that are compatible with Drupal’s plugin system use case. As a result, Drupal will transition from the use of annotations to PHP attributes, to supply metadata and configuration for plugins. This will require developers to learn the new PHP attributes syntax, and update their existing code to use it. For now Drupal will continue to support both annotations and attributes. But the proverbial clock is ticking.
So let’s take a look at how we got here, and what you’ll need to do to update your code for future versions of Drupal.
joe Wed, 02/14/2024 - 19:06TechStage | Top 10: Die besten E-Scooter von Ninebot bis Xiaomi im Test
Xiaomi, Segway, Soflow oder Streetbooster? TechStage hat über 55 E-Scooter getestet und zeigt die zehn besten Elektroscooter.
ThinkDrop Consulting: New Composer plugin "Remote Bin Scripts" makes it easy to install 3rd party tools.
Recently we finished a project that was being moved to Pantheon.
We created a couple custom scripts for pushing data into the pantheon environment, and for pulling data down for continuous integration runs.
The scripts require the Terminus CLI tool created by Pantheon to interact with it's service.
Terminus is a composer project, but it's dependencies don't align with the latest Drupal sites. It's best to install it as a phar file and run it that way.