Sometimes you want to add additional authoring functionality for your components, therefore you might need to add additional toolbar action.
For example we have the
Hello World component from the aem archetype and we want to check, who was the last one, who edited this component.
Our initial toolbar.
Let’s add a new toolbar and register it.
Now we just need to check that
execute method works as expected.