Sets the name of this configuration object.
Return value
Drupal\Core\Config\Config
The configuration object.
File
- drupal/core/lib/Drupal/Core/Config/Config.php, line 111
- Definition of Drupal\Core\Config\Config.
Class
- Config
- Defines the default configuration object.
Namespace
Drupal\Core\Config
Code
public function setName($name) {
$this->name = $name;
return $this;
}