function ConfigTest::append

Same name and namespace in other branches
  1. 10 core/modules/config/tests/config_test/src/Entity/ConfigTest.php \Drupal\config_test\Entity\ConfigTest::append()

Appends to protected property.

Parameters

$value: The value to append.

Return value

$this The config entity.

File

core/modules/config/tests/config_test/src/Entity/ConfigTest.php, line 269

Class

ConfigTest
Defines the ConfigTest configuration entity.

Namespace

Drupal\config_test\Entity

Code

public function append(string $value) : static {
    $this->protected_property .= $value;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.