public function ViewUI::__get in Drupal 8
File
- core/
modules/ views_ui/ src/ ViewUI.php, line 1411
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function __get($name) {
if ($name === 'lock') {
@trigger_error('Using the "lock" public property of a View is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \\Drupal\\views_ui\\ViewUI::getLock() instead. See https://www.drupal.org/node/3025869.', E_USER_DEPRECATED);
return $this
->getLock();
}
}