symfonystation, PHP Attributes for Drupal Plugins via DrupalizeMe. 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. For now, Drupal will continue to support both annotations and attributes. https://drupalize.me/blog/php-attributes-drupal-plugins #Drupal
Add comment