Skip to content

Provide symfony event dispatcher events for all older hook types #29174

@PVince81

Description

@PVince81
  1. The very old static hooks: \OCP\Util::connectHook()
  2. The less old object based emitters: keyword BasicEmitter where you listen directly on objects
  3. The newer way we want to go for everything in the future: Symfony event dispatcher listeners

For every hook of type 1) and 2), we should provide a Symfony event dispatcher event.

Then all app development needs to use only the Symfony event dispatcher ones in the future and those will be considered public API and the old ones deprecated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions