HomePhorge

Make edge types modular

Description

Make edge types modular

Summary:
Ref T5245. I want to add a new capability to edge types, which is a good opportunity to move away from PhabricatorEdgeConfig, which isn't modular.

This is basically the same as the modularization of PHID types, which has worked well. Add PhabricatorEdgeType and provide an adaption layer for the existing code.

This has no runtime changes, except the fixed edge constant.

Test Plan: Ran var_dump(PhabricatorEdgeType::getAllTypes()) and got reasonable looking output.

Reviewers: chad, btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T5245

Differential Revision: https://secure.phabricator.com/D9837

Details

Provenance
epriestleyAuthored on Jul 17 2014, 3:40 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP7deec8208ff9: Make Maniphest project edits more transaction-oriented
Branches
Unknown
Tags
Unknown

Event Timeline