ymcatwincities/ymca_sync
最新稳定版本:10.0.6
Composer 安装命令:
composer require ymcatwincities/ymca_sync
包简介
Syncer sceleton
README 文档
README
Provide uniform program interface for run drush commands without race condition
How to add new syncer
Add to your module_name.service.yml code like this:
my_data.syncer: class: Drupal\ymca_sync\Syncer arguments: [] calls: - [addStep, ['@my_service', 'my_method']] - [addStep, ['@my_another_service', 'my_another_method']] tags: - { name: syncer }
Clear cache. Go to /admin/config/system/ymca-sync and activate you syncer
How list syncers from command-line
run drush yn-sync:list
How to run your syncer
Run syncer by drush commands, for example:
drush yn-sync my_data.syncer
If your run syncer twice at the same time on second run you see message like this:
Lock syncer my_data.syncer is still working. Exit.
统计信息
- 总下载量: 75.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-02-04