Commit d21c9a4e authored by alexpott's avatar alexpott
Browse files

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

parent 1a8367ce
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment