public function SpamspanExtension::__construct in SpamSpan filter 8.2
Same name and namespace in other branches
- 8 src/TwigExtension/SpamspanExtension.php \Drupal\spamspan\TwigExtension\SpamspanExtension::__construct()
Constructor of SpamSpanExtension.
Parameters
\Drupal\Core\Render\Renderer $renderer: The renderer.
File
- src/
TwigExtension/ SpamspanExtension.php, line 26
Class
- SpamspanExtension
- Provides the SpamSpan filter function within Twig templates.
Namespace
Drupal\spamspan\TwigExtensionCode
public function __construct(Renderer $renderer) {
$this->renderer = $renderer;
}