地址:中国省市区联动模块
想法来自: http://tshi0912.github.io/city-picker/
主要目的为了练习自定义字段,其文件结构如下:
- foo_bar_fields.info.yml
- src/
- Plugin/
- Field/
- FieldType/
- FooItem.php
- FieldFormatter/
- FooBarFormatter.php
- FieldWidget/
- FooBarWidget.php
- FieldType/
- Field/
- Plugin/
参考:https://www.drupal.org/project/chinese_address