Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::RENDER_EMPTY_ATTRIBUTE
  2. 9 core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::RENDER_EMPTY_ATTRIBUTE

Renders '$name=""' if $value is an empty string.

See also

\Drupal\Core\Template\AttributeValueBase::render()

File

core/lib/Drupal/Core/Template/AttributeValueBase.php, line 19

Class

AttributeValueBase
Defines the base class for an attribute type.

Namespace

Drupal\Core\Template

Code

const RENDER_EMPTY_ATTRIBUTE = TRUE;