You are here

public function DeprecatedArray::offsetUnset in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetUnset()
  2. 9 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetUnset()

File

core/lib/Drupal/Component/Utility/DeprecatedArray.php, line 61

Class

DeprecatedArray
An array that triggers a deprecation warning when accessed.

Namespace

Drupal\Component\Utility

Code

public function offsetUnset($offset) {
  @trigger_error($this->message, E_USER_DEPRECATED);
  parent::offsetUnset($offset);
}