readmore.html.twig in Readmore 2.x
Same filename and directory in other branches
1 theme call to readmore.html.twig
- ReadmoreFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ ReadmoreFormatter.php - Builds a renderable array for a field value.
File
templates/readmore.html.twigView source
- {#
- /**
- * @file
- * readmore.html.twig
- *
- * Available variables:
- * - summary: Truncated string
- * - text: All text
- */
- #}
- <div class="readmore-summary">
- {{ summary }}
- </div>
- <div class="readmore-text">
- {{ text }}
- </div>