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

Breadcrumb

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

function IfTokenParser::decideIfEnd

File

vendor/twig/twig/src/TokenParser/IfTokenParser.php, line 81

Class

IfTokenParser
Tests a condition.

Namespace

Twig\TokenParser

Code

public function decideIfEnd(Token $token) : bool {
    return $token->test([
        'endif',
    ]);
}

API Navigation

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