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

Breadcrumb

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

function ForTokenParser::decideForEnd

File

vendor/twig/twig/src/TokenParser/ForTokenParser.php, line 69

Class

ForTokenParser
Loops over each item of a sequence.

Namespace

Twig\TokenParser

Code

public function decideForEnd(Token $token) : bool {
    return $token->test('endfor');
}

API Navigation

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