hypejunction/actions_feature
最新稳定版本:7.0.1
Composer 安装命令:
composer require hypejunction/actions_feature
包简介
API for featuring items
README 文档
README
Feature Action for Elgg
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.
Compatibility
| Plugin version | Elgg version |
|---|---|
| current | 7.x |
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-03-03