# `MishkaGervaz.Table.Entities.ActionHook`
[🔗](https://github.com/mishka-group/mishka_gervaz/blob/v0.0.1-alpha.3/lib/mishka_gervaz/table/entities/action_hook.ex#L1)

Entity struct for per-action lifecycle hooks (row + bulk).

Stores a hook function attached to one or more action names.

Used by entries like `before_row_action`, `after_row_action`,
`on_row_action_success`, `on_row_action_error`, and the bulk variants.

See `MishkaGervaz.Table.Dsl.Hooks`,
`MishkaGervaz.Table.Entities.RowAction`,
`MishkaGervaz.Table.Entities.BulkAction`, and
`MishkaGervaz.Table.Web.Events.HookRunner`.

# `t`

```elixir
@type t() :: %MishkaGervaz.Table.Entities.ActionHook{
  __identifier__: term(),
  __spark_metadata__: map() | nil,
  names: atom() | [atom()],
  phase: atom(),
  run: fun()
}
```

# `transform`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
