public function DeprecatedArray::offsetGet in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetGet()
- 9 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::offsetGet()
File
- core/
lib/ Drupal/ Component/ Utility/ DeprecatedArray.php, line 43
Class
- DeprecatedArray
- An array that triggers a deprecation warning when accessed.
Namespace
Drupal\Component\UtilityCode
public function offsetGet($offset) {
@trigger_error($this->message, E_USER_DEPRECATED);
return parent::offsetGet($offset);
}