function ViewUI::set
Same name in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::set()
- 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::set()
- 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::set()
Overrides ConfigEntityInterface::set
File
-
core/
modules/ views_ui/ src/ ViewUI.php, line 182
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function set($property_name, $value, $notify = TRUE) {
if (property_exists($this->storage, $property_name)) {
$this->storage
->set($property_name, $value);
}
else {
$this->{$property_name} = $value;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.