Skip to content
Zotonic
  • Start
  • Guides
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Notifications
  • Reference
  • Backend developer
  • Content relationships
  • Edge
  • Notification
  • Edit

observe_edge_update/2

An edge has been updated Note that the Context for this notification does not have the user who updated the edge.

Type:

notify

Return:

return value is ignored

#edge_update{} properties:

  • subject_id: m_rsc:resource()
  • predicate: atom
  • object_id: m_rsc:resource()
  • edge_id: pos_integer

Edit on GitHub

Related documentation

Notifications

observe_edge_insert/2

An edge has been inserted. Note that the Context for this notification does not have the user who created the edge.

Notifications

observe_edge_delete/2

An edge has been deleted Note that the Context for this notification does not have the user who deleted the edge.

Notifications

observe_development_reload/2

Reloads templates, modules, translations, and other indexed development files after a manual request.

Notifications

observe_identity_update_done/2

Notify that a user’s identity has been updated by the identity model.

Actions

unlink

Remove an edge between two resources. Used in the admin.

Notifications

observe_tkvstore_put/2

Put a value into the typed key/value store

Notifications

observe_admin_rscform/3

Used in the admin to process a submitted resource form

Notifications

observe_hierarchy_updated/2

Signal that the hierarchy underneath a resource has been changed by mod_menu

Notifications

observe_rsc_delete/2

Resource will be deleted. This notification is part of the delete transaction, it’s purpose is to clean up associated data.

GitHub © 2026 Zotonic