You are here

public function AttributeArray::offsetUnset in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Template/AttributeArray.php \Drupal\Core\Template\AttributeArray::offsetUnset()
  2. 9 core/lib/Drupal/Core/Template/AttributeArray.php \Drupal\Core\Template\AttributeArray::offsetUnset()

File

core/lib/Drupal/Core/Template/AttributeArray.php, line 60

Class

AttributeArray
A class that defines a type of Attribute that can be added to as an array.

Namespace

Drupal\Core\Template

Code

public function offsetUnset($offset) {
  unset($this->value[$offset]);
}