class TwigExtension in Webform 8.5
Twig extension with some useful functions and filters.
Hierarchy
- class \Drupal\webform\Twig\WebformTwigExtension extends \Drupal\webform\Twig\Twig_Extension
- class \Drupal\webform\Twig\TwigExtension
Expanded class hierarchy of TwigExtension
Deprecated
as of Webform 8.x-5.x, will be removed in Webform 8.x-6.x. Instead extend and use WebformTwigExtension.
File
- src/
Twig/ TwigExtension.php, line 11
Namespace
Drupal\webform\TwigView source
class TwigExtension extends WebformTwigExtension {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformTwigExtension:: |
protected static | property | ||
WebformTwigExtension:: |
public static | function | Build reusable Twig help. | |
WebformTwigExtension:: |
public static | function | Build a Twig template with a webform submission. | |
WebformTwigExtension:: |
public | function | ||
WebformTwigExtension:: |
public | function | ||
WebformTwigExtension:: |
public static | function | Determine if the current user can edit Twig templates. | |
WebformTwigExtension:: |
public static | function | Render a Twig template with a webform submission. | |
WebformTwigExtension:: |
public | function | Debug data by outputting YAML. | |
WebformTwigExtension:: |
public | function | Runs HTML markup through (optional) text format. | |
WebformTwigExtension:: |
public | function | Replace tokens in text. |