Download & Extend

Entity Dependency API

This module provides an API to define dependencies between entities, and also a useful iterator class.

Background

This project originated from the Deploy module, where it's used heavily, but were later separated out for better code separation and reusability between modules.

The iterator

You construct the iterator with an array of entity IDs. Then, when iterating over the iterator you will get all entities AND their dependencies out in a sane order (i.e. dependencies first).

Since the iterator only return "plain" entity objects and developers often need more meta data around the entity (primarily the entity type) we are embedding metadata within the entity object according to the OData protocol's JSON format which is a very simple and lightweight way of solving the problem.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-alpha1 tar.gz (12.1 KB) | zip (14.64 KB) 2012-Jan-31 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (12.43 KB) | zip (15 KB) 2012-Feb-17 Notes

Project Information


Maintainers for Entity Dependency API

  • neochief - 2 commits
    last: 14 weeks ago, first: 14 weeks ago
  • dixon_ - 6 commits
    last: 14 weeks ago, first: 16 weeks ago

Issues for Entity Dependency API

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports