diff options
author | Jian He | 2017-04-12 18:14:48 (GMT) |
---|---|---|
committer | Jian He | 2017-04-12 18:14:48 (GMT) |
commit | 6ef3368d37d037915063773e35432bcf62d150ef (patch) | |
tree | f3b68eb5c8841eebc8dc1ba24dafabf7f0816083 | |
parent | afd9bc5dcca748efc32de2b38333b0524cdc239e (diff) |
Add the README file.
-rw-r--r-- | README.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..cbfc4f2 --- /dev/null +++ b/README.txt @@ -0,0 +1,8 @@ +This module will generate the Pinyin short code(拼音简码) based on the entity label field. + +Code example: + + $fields['pinyin'] = BaseFieldDefinition::create('pinyin_shortcode') + ->setLabel('拼音码') + ->setSetting('max_length', 16); + |