public class BlockHelper extends java.lang.Object implements Helper<java.lang.Object>
The block helper will replace its section with the partial of the same name if it exists.
If delete-after-merge
is set to true
, the partial will be delete once
applied it.
{{block "title" [delete-after-merge=false]}}
Modifier and Type | Field and Description |
---|---|
static Helper<java.lang.Object> |
INSTANCE
A singleton instance of this helper.
|
static java.lang.String |
NAME
The helper's name.
|
Constructor and Description |
---|
BlockHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
apply(java.lang.Object context,
Options options)
Apply the helper to the context.
|
public static final Helper<java.lang.Object> INSTANCE
public static final java.lang.String NAME
Copyright © 2010 - 2020 Adobe. All Rights Reserved