function ConfigQueryTest::concatProtectedProperty
Same name and namespace in other branches
- 11.x core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php \Drupal\config_test\Entity\ConfigQueryTest::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.
Overrides ConfigTest::concatProtectedProperty
File
-
core/
modules/ config/ tests/ config_test/ src/ Entity/ ConfigQueryTest.php, line 52
Class
- ConfigQueryTest
- Defines the ConfigQueryTest configuration entity used by the query test.
Namespace
Drupal\config_test\EntityCode
public function concatProtectedProperty(string $value1, string $value2) : static {
// This method intentionally does not have the config action attribute to
// ensure it is still discovered.
return parent::concatProtectedProperty($value1, $value2);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.