You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like with e.g. Symfony\Component\Console\Attribute\AsCommand for commands, I want to be able to use an attribute like AsShortcode for the service configuration of my shortcodes.
I haven't thought this through, yet, but I hope that this:
would allow us to having the complete configuration for a shortcode at the shortcode class/method
would remove boilerplate config
would be less error prone / allow us to provide better error messages if the configuration is wrong
The text was updated successfully, but these errors were encountered:
MalteWunsch
changed the title
#[AsShortcode] arttibute?#[AsShortcode] attribute?
Jul 24, 2024
MalteWunsch
changed the title
#[AsShortcode] attribute?#[AsShortcode] attribute? (Case 173659)
Jul 25, 2024
Like with e.g.
Symfony\Component\Console\Attribute\AsCommand
for commands, I want to be able to use an attribute likeAsShortcode
for the service configuration of my shortcodes.I haven't thought this through, yet, but I hope that this:
The text was updated successfully, but these errors were encountered: