Skip to content

SinglePreloader ​

Type
Class
Namespace
craft\web\twig\nodevisitors
Inherits
craft\web\twig\nodevisitors\SinglePreloader
Implements
Twig\NodeVisitor\NodeVisitorInterface
Since
4.4.0

SinglePreloader preloads Single section entries for a template.

View source

Public Methods ​

MethodDescription
enterNode()
getPriority()
leaveNode()

enterNode() ​

View source

Arguments ​

  • $node
  • $env

getPriority() ​

View source

leaveNode() ​

View source

Arguments ​

  • $node
  • $env