Teasers API

Categories

Component ID

1786752

Component name

Teasers API

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The teasers API module gives authors the flexibility to determine how the teaser for a given node will be featured throughout the site. It also allows them the flexibility to override the default teaser data if they want something more specific.

It is an API for developers to hook into that will allow them to get data from a field and generate their teaser to be displayed. Those teasers will also be pushed into the node variables array so that they can be used directly within the theme.

It is based on a setting on a field to a node and all other modules can write hooks that will allow them to manipulate the text to build out their teaser for that node.