Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TwigSimpleCheckToStringNode.php

function TwigSimpleCheckToStringNode::compile

Overrides CheckToStringNode::compile

File

core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php, line 27

Class

TwigSimpleCheckToStringNode
Defines a twig node for simplifying CheckToStringNode.

Namespace

Drupal\Core\Template

Code

public function compile(Compiler $compiler) : void {
    $expr = $this->getNode('expr');
    $compiler->subcompile($expr);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal