Node Snippet Replace
Component ID
1191940
Component name
Node Snippet Replace
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Node Snippet Replace
Node Snippet Replace allows those with permission to create Node Snippets which can then be inserted into nodes.
Why Is This Useful?
Administrators can create a snippet of common content that a user with little technical knowledge can use when creating content.
How It Works
When a snippet is created, an actual file is created. When a node is loaded, Node Snippet Replace, through a hook uses Regex to find tags. ( {{tag-name}} )
The hook then replaces the tag with the content from the snippet. The content is cached for quick access.
