W3cubDocs

/Drupal 8

constant 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 18

Class

AttributeValueBase
Defines the base class for an attribute type.

Namespace

Drupal\Core\Template

Code

const RENDER_EMPTY_ATTRIBUTE = TRUE;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Template!AttributeValueBase.php/constant/AttributeValueBase::RENDER_EMPTY_ATTRIBUTE/8.1.x