mod_admin_predicate
Add support for editing predicates in the admin, by
presenting a list of all defined predicates on http://yoursite.com/admin/predicate.
Predicates can be added, removed and edited, just like regular resources.
ACL permissions
The following ACL permissions are required:
to view the page, use permission on the ‘mod_admin_predicate’ module
to edit and delete predicates, edit and delete permissions on category ‘predicate’.
Admin module for managing edge predicates and predicate resources in the backend.
Accepted Events
This module handles the following notifier callbacks:
observe_admin_menu: Add predicate management entries to the admin menu.observe_rsc_delete: Do not allow a predicate to be removed iff there are edges with that predicate usingm_predicate:is_used.observe_rsc_update: Check if the update contains information for a predicate usingm_predicate:update_noflush.observe_rsc_update_done: Whenever a predicate has been updated we have to flush the predicate cache usingm_predicate:flush.observe_search_query: Implement predicate-specific search query clauses used by admin predicate listings.
Delegate callbacks:
event/2withpostbackmessages:delete_all.event/2withsubmitmessages:delete_move.