function AttributeBoolean::render

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Template/AttributeBoolean.php \Drupal\Core\Template\AttributeBoolean::render()
  2. 10 core/lib/Drupal/Core/Template/AttributeBoolean.php \Drupal\Core\Template\AttributeBoolean::render()
  3. 11.x core/lib/Drupal/Core/Template/AttributeBoolean.php \Drupal\Core\Template\AttributeBoolean::render()

Overrides AttributeValueBase::render

File

core/lib/Drupal/Core/Template/AttributeBoolean.php, line 32

Class

AttributeBoolean
A class that defines a type of boolean HTML attribute.

Namespace

Drupal\Core\Template

Code

public function render() {
    return $this->__toString();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.