public ViewUI::set($property_name, $value, $notify = TRUE)
Sets the value of a property.
Parameters
string $property_name: The name of the property that should be set.
mixed $value: The value the property should be set to.
Return value
$this
Overrides ConfigEntityInterface::set
File
- core/modules/views_ui/src/ViewUI.php, line 170
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_ui
Code
1 2 3 4 5 6 7 8 | 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 ; } } |
Please login to continue.