Also to prevent notices, please add simple validation:
```php
if (!isset($attributes[0]['type'])) {
    throw new \InvalidArgumentException('Tagged promotion action needs to have `type` attribute.');
}

if (!isset($attributes[0]['label'])) {
    throw new \InvalidArgumentException('Tagged promotion action needs to have `label` attribute.');
}