function ConfigBase::setName
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::setName()
- 8.9.x core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::setName()
- 10 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::setName()
Sets the name of this configuration object.
Parameters
string $name: The name of the configuration object.
Return value
$this The configuration object.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigBase.php, line 79
Class
- ConfigBase
- Provides a base class for configuration objects with get/set support.
Namespace
Drupal\Core\ConfigCode
public function setName($name) {
$this->name = $name;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.