sueden.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Eine Community für alle, die sich dem Süden hingezogen fühlen. Wir können alles außer Hochdeutsch.

Serverstatistik:

1,8 Tsd.
aktive Profile

#drupal

38 Beiträge29 Beteiligte6 Beiträge heute

New release of Drupal Code Builder. Version 4.5.4 adds adoption of plugin types from existing code.
This allows easy conversion of annotation-based plugin types to attribute-based plugin types!
1. Adopt your module and its plugin type.
2. In the plugin types section form, change the discovery type to 'attribute'. This will preserve data such as the plugin subdirectory, and annotation properties.
3. Generate!
You can then use #Drupal #Rector to convert plugins of this type to use attributes.

New release of Module Builder! Version 4.1.2 adds tables for compound elements with a small number of properties. This kicks in for things such as form elements and plugin type attribute class properties. It makes the form for compound elements simpler to understand. #Drupal

Ondřej Mirtes is taking the stage at #DrupalConVienna on 14 October as a featured speaker in the CODING & SITE BUILDING track. His session “Writing Custom PHPStan Rules for Drupal Projects” will show you how to elevate your skills.

✨ Don’t miss the chance to gain fresh insights straight from the creator of PHPStan!
👉 events.drupal.org/vienna2025/s

#DrupalConEur #PHPStan #DrupalDev #Drupal #Coding

@OndrejMirtes

Does anyone have experience with a #Drupal + #media + #paragraphs setup where content editors (not site builders) can choose a crop type or image style or even view mode for referenced media images?

Use case:
- editor selects 1-column layout, selects media item, selects horizontal crop type.
- editor selects 2-column layout, selects media item, selects vertical crop type.

Got lost yesterday trying to combine All The Crop Modules; I need to start from scratch.

Any thoughts?