Common Stamps
Security covered
Provides Symfony Messenger stamps related to core or simple functionality, including:
Contextual Metadata
\Drupal\stamps\Messenger\Stamp\ActionsStamp
Add action links relevant to the message, categorised into primary, secondary, danger, positive, and negative links.
ActionsStamp::fromLinks(primary: [
Link::fromTextAndUrl('Go home', Url::fromRoute('<front>')),
])\Drupal\stamps\Messenger\Stamp\DescriptionStamp
Add user-friendly contextual metadata describing the message.
DescriptionStamp::create(title: 'A custom message!', description: '...and a description.')\Drupal\stamps\Messenger\Stamp\LinksStamp
Add links relevant to the message.
LinksStamp::fromLinks(
Link::fromTextAndUrl('Go home', Url::fromRoute('<front>')),
)User metadata
\Drupal\stamps\Messenger\Stamp\CurrentUserStamp
Automatically added to messages when a message is dispatched during an authenticated web request.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.