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

Breadcrumb

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

function TemplateElement::setTail

Sets the tail flag that is true when the element is the tail element in a template

Parameters

bool $tail Tail flag:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/TemplateElement.php, line 97

Class

TemplateElement
A node that represents a template element. For example `foo` and `bar` in: `foo${exp}bar`

Namespace

Peast\Syntax\Node

Code

public function setTail($tail) {
    $this->tail = (bool) $tail;
    return $this;
}

API Navigation

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