avblink/read_more_formatter
Composer 安装命令:
composer require avblink/read_more_formatter
包简介
Drupal 8 text_with_summary field formatter. Adds 'Read more' button to expand/collapse full content.
README 文档
README
Drupal 8 'text_with_summary' field formatter. Renders 'Summary' field with 'Read more' and 'Read less' buttons. Clicking 'Read more' button will replace summary text with that in the main field. Alternatively one can user <!--break--> delimiter in the main field in which case formatter will use text above the delimiter instead of that specified in summary field.
To install this module with composer
Add the following to your local compoaser.json file and run 'composer install' command.
{
"require": {
"avblink/read_more_formatter": "dev-master"
},
"extra": {
"installer-paths": {
"modules/contrib/{$name}/": [
"type:drupal-module"
]
}
},
"repositories": {
"avblink": {
"type": "vcs",
"url": "https://github.com/avblink/read_more_formatter.git"
}
}
}
统计信息
- 总下载量: 1.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-04-28