technology and webhosting news

Entity theming with Pinto | PreviousNext

namespace Drupalmy_project_profileEntityBlockContent; use DrupalbcaAttributeBundle; use Drupalmy_project_profileTraitsDescriptionTrait; use Drupalmy_project_profileTraitsImageTrait; use Drupalmy_project_profileTraitsTitleTrait; #[Bundle(entityType: self::ENTITY_TYPE_ID, bundle: self::BUNDLE)] final class Card extends MyProjectBlockContentBase { use TitleTrait; use DescriptionTrait; use ImageTrait; public const string BUNDLE = ‘card’; } Let’s set up our Card bundle class:EntityViewBuilders are PHP classes that contain logic on how to build (or…

rsync Command in Linux with Examples

rsync Command in Linux with Examples

The rsync command is one of the most popular and powerful tools in Linux for synchronizing files and directories between different locations. It is widely used for backups, remote file transfers, and directory syncing,…

Drupal and the Sagrada Família

Drupal and the Sagrada Família

Gaudí designed the Sagrada Família as a reflection of nature, with symbolism woven into every inch of the building. Dries Buytaert began Drupal with a similar vision. From early on, the possibility of…

Next level theming with Pinto

Next level theming with Pinto

In this blog post, we focused on the basic principles of Pinto. We also looked at how to hit the ground running with some nice helper functions and integration with a design system…

XB week 18: DriesNote deadline

XB week 18: DriesNote deadline

Ben “bnjmnm” Mullins finished the highest-impact loose end: he ensured all single-value field types work correctly. Major loose ends Your browser does not support playing videos. You can download it instead. This week, Ben…