unocha / ocha_integrations
v2.0.4
2023-11-01 13:43 UTC
Requires
- composer/installers: ^1 || ^2
Requires (Dev)
- drupal/coder: ^8.3
- sebastian/phpcpd: ^6.0
This package is auto-updated.
Last update: 2024-08-30 01:27:08 UTC
README
Drupal的常见OCHA集成。
配置可更改。
请确保更改以下配置文件中的appname
- ocha_disasters.settings.yml
- ocha_themes.settings.yml
需要API密钥才能使用HID联系人。
模块
所有模块使用pcb进行缓存,缓存更新通过cron进行。
所有模块都有自己的字段类型、格式化和小部件。
ocha_integrations
所有其他集成的基模块。
还提供搜索API和维度的额外功能
- 整数列表项的漂亮路径编码器
- 显示当前搜索字符串
- 添加重置搜索字符串链接
- 为漂亮路径添加重置维度的链接
ocha_countries
从http://vocabulary.unocha.org返回国家列表。
ocha_disasters
从https://www.reliefweb.int返回灾害列表,包括GLIDE编号。
ocha_global_coordination_groups
从http://vocabulary.unocha.org返回全球协调组列表。
ocha_hid_contacts
从https://humanitarian.id返回联系人需要API密钥。
ocha_local_groups
从https://www.humanitarianresponse.info返回本地组(即包)列表。
ocha_locations
从https://www.humanitarianresponse.info返回地点列表,直至管理级别3。
ocha_organizations
从https://www.humanitarianresponse.info返回组织列表。
ocha_persons
定义一个人员实体,因此您不需要创建联系人节点类型。
ocha_population_type
从https://www.humanitarianresponse.info返回人口类型列表。
ocha_themes
从https://www.reliefweb.int返回主题列表。