Consider following hook:
beforeCreate(event) {
console.log(event)
},
I can’t find information about locale of the entry anywhere in event
object. I have enabled i18n plugin and the locale
attribute is present in REST API, but is not present in hooks.
In v3 there is simply data.locale
, how can I get entry’s locale in v4?