Dependency

Categories

Component ID

2877998

Component name

Dependency

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

85

Component created

Component changed

Component body

The module allows to define dependencies between entities.
Dependencies are links made by some reference fields connecting entities.
When an entity is updated / created / deleted, the dependent entities are notified. It can be used to reindex dependent entities in search engines or clear some caches which contain dependent entity information.

Dependency rule set example (the leftmost entity is the entity on which the rightmost entity depends):

[section_name]
# Comment
entity_type:field_name->entity_type
entity_type(bundle):field_name->entity_type(bundle)
entity_type(bundle)<-field_name:entity_type(bundle)
entity_type(bundle1, bundle2)<-field_name1:entity_type(bundle):field_name2->entity_type