function DeprecatedArray::offsetSet
Same name in other branches
- 9 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetSet()
- 8.9.x core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetSet()
- 11.x core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetSet()
File
-
core/
lib/ Drupal/ Component/ Utility/ DeprecatedArray.php, line 51
Class
- DeprecatedArray
- An array that triggers a deprecation warning when accessed.
Namespace
Drupal\Component\UtilityCode
public function offsetSet($offset, $value) {
@trigger_error($this->message, E_USER_DEPRECATED);
parent::offsetSet($offset, $value);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.