Skip to content

Clarify that system collection event names exclude the directus_ prefix #510

@ComfortablyCoding

Description

@ComfortablyCoding

The hooks documentation does not clarify that the <system-collection> placeholder means a system collection without its directus_ prefix. This can cause confusion as developers may attempt to use directus_files.delete, which does not work, because the correct event name is files.delete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions