function DeprecatedArray::unserialize

Same name in other branches
  1. 9 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::unserialize()
  2. 10 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::unserialize()
  3. 11.x core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::unserialize()

File

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

Class

DeprecatedArray
An array that triggers a deprecation warning when accessed.

Namespace

Drupal\Component\Utility

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.