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