function ConfigTest::concatProtectedProperty
Same name in other branches
- 11.x core/modules/config/tests/config_test/src/Entity/ConfigTest.php \Drupal\config_test\Entity\ConfigTest::concatProtectedProperty()
Concatenates the two params and sets the protected property value.
Parameters
$value1: The first value to concatenate.
$value2: The second value to concatenate.
Return value
$this The config entity.
1 call to ConfigTest::concatProtectedProperty()
- ConfigQueryTest::concatProtectedProperty in core/
modules/ config/ tests/ config_test/ src/ Entity/ ConfigQueryTest.php - Concatenates the two params and sets the protected property value.
1 method overrides ConfigTest::concatProtectedProperty()
- ConfigQueryTest::concatProtectedProperty in core/
modules/ config/ tests/ config_test/ src/ Entity/ ConfigQueryTest.php - Concatenates the two params and sets the protected property value.
File
-
core/
modules/ config/ tests/ config_test/ src/ Entity/ ConfigTest.php, line 237
Class
- ConfigTest
- Defines the ConfigTest configuration entity.
Namespace
Drupal\config_test\EntityCode
public function concatProtectedProperty(string $value1, string $value2) : static {
$this->protected_property = $value1 . $value2;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.