Adding 'create any path alias' action.

That looks wrong. $language can now be an object or a string? But AliasStorageInterface expects a string for $langcode? Anything you pass to the alias storage should be named $langcode, to make it clear that it is not an object.