Attribute::offsetGet

public function Attribute::offsetGet

public Attribute::offsetGet($name)

File

core/lib/Drupal/Core/Template/Attribute.php, line 89

Class

Attribute
Collects, sanitizes, and renders HTML attributes.

Namespace

Drupal\Core\Template

Code

public function offsetGet($name) {
  if (isset($this->storage[$name])) {
    return $this->