public function AttributeArray::offsetUnset in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Template/AttributeArray.php \Drupal\Core\Template\AttributeArray::offsetUnset()
- 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\TemplateCode
public function offsetUnset($offset) {
unset($this->value[$offset]);
}