hypejunction / actions_feature
AJAX Tabs component for Elgg
Package info
github.com/hypeJunction/Elgg-actions_feature
Type:elgg-plugin
pkg:composer/hypejunction/actions_feature
dev-master
2015-11-26 18:29 UTC
Requires (Dev)
- composer/installers: 1.*
This package is auto-updated.
Last update: 2026-03-01 00:11:01 UTC
README
Features
- Standardized API for featuring items
Usage
- Register your type
elgg_register_plugin_hook_handler('feature', 'object:my_type', 'Elgg\Values::getTrue');
- Manage permissions
By default, only admins can feature/unfeature items. If you need to change that behaviour,
use 'permissions_check:feature',$entity_type hook.
- Notifications/River items
If you need to notify the owner, or create a river item, listen to 'featured',$entity_type and
'unfeatured',$entity_type events.