function ConfigTest::defaultProtectedProperty
Same name in other branches
- 10 core/modules/config/tests/config_test/src/Entity/ConfigTest.php \Drupal\config_test\Entity\ConfigTest::defaultProtectedProperty()
Sets the protected property to a default value.
Return value
$this The config entity.
File
-
core/
modules/ config/ tests/ config_test/ src/ Entity/ ConfigTest.php, line 283
Class
- ConfigTest
- Defines the ConfigTest configuration entity.
Namespace
Drupal\config_test\EntityCode
public function defaultProtectedProperty() : static {
$this->protected_property = 'Set by method';
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.