Files
payloadcms/packages
Jacob Fletcher 3af546eeee feat: global beforeOperation hook (#13768)
Adds support for the `beforeOperation` hook on globals. Runs before all
other hooks to either modify the arguments that operations receive, or
perform side-effects before an operation begins.

```ts
import type { GlobalConfig } from 'payload'

const MyGlobal: GlobalConfig = {
  // ...
  hooks: {
    beforeOperation: []
  }
}
```

---
- To see the specific tasks where the Asana app for GitHub is being
used, see below:
  - https://app.asana.com/0/0/1211317005907890
2025-09-10 20:46:49 +00:00
..
2025-09-10 14:40:53 -04:00
2025-09-10 14:40:53 -04:00
2025-09-10 14:40:53 -04:00