function MenuTreeParameters::__unserialize
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuTreeParameters.php \Drupal\Core\Menu\MenuTreeParameters::__unserialize()
- 10 core/lib/Drupal/Core/Menu/MenuTreeParameters.php \Drupal\Core\Menu\MenuTreeParameters::__unserialize()
1 call to MenuTreeParameters::__unserialize()
- MenuTreeParameters::unserialize in core/
lib/ Drupal/ Core/ Menu/ MenuTreeParameters.php
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuTreeParameters.php, line 253
Class
- MenuTreeParameters
- Provides a value object to model menu tree parameters.
Namespace
Drupal\Core\MenuCode
public function __unserialize(array $data) : void {
foreach ($data as $key => $value) {
$this->{$key} = $value;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.