avblink/read_more_formatter

There is no license information available for the latest version (v1.0.0) of this package.

Drupal 8 text_with_summary field formatter. Adds 'Read more' button to expand/collapse full content.

Installs: 1 100

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:drupal-module

v1.0.0 2017-04-28 09:04 UTC

This package is auto-updated.

Last update: 2024-04-20 18:28:44 UTC


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"
        }
    }
}