AttributeValueBase::RENDER_EMPTY_ATTRIBUTE

Same name in other branches
  1. 9 core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::RENDER_EMPTY_ATTRIBUTE
  2. 8.9.x core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::RENDER_EMPTY_ATTRIBUTE
  3. 10 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;

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