Skip to content
Snippets Groups Projects
Commit d21c9a4e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2313615 by tim.plunkett: Clarify the deprecated-ness of ArrayAccess usage in FormState.

parent 1a8367ce
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -467,6 +467,8 @@ public function &getCompleteForm() {
/**
* {@inheritdoc}
*
* @deprecated in Drupal 8.0.x, might be removed before Drupal 8.0.0.
*/
public function offsetExists($offset) {
return isset($this->{$offset}) || isset($this->internalStorage[$offset]);
......@@ -474,6 +476,8 @@ public function offsetExists($offset) {
/**
* {@inheritdoc}
*
* @deprecated in Drupal 8.0.x, might be removed before Drupal 8.0.0.
*/
public function &offsetGet($offset) {
$value = &$this->get($offset);
......@@ -482,6 +486,8 @@ public function &offsetGet($offset) {
/**
* {@inheritdoc}
*
* @deprecated in Drupal 8.0.x, might be removed before Drupal 8.0.0.
*/
public function offsetSet($offset, $value) {
$this->set($offset, $value);
......@@ -489,6 +495,8 @@ public function offsetSet($offset, $value) {
/**
* {@inheritdoc}
*
* @deprecated in Drupal 8.0.x, might be removed before Drupal 8.0.0.
*/
public function offsetUnset($offset) {
if (property_exists($this, $offset)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment