You are here

public function ConfigBase::setName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 84
Contains \Drupal\Core\Config\ConfigBase.

Class

ConfigBase
Provides a base class for configuration objects with get/set support.

Namespace

Drupal\Core\Config

Code

public function setName($name) {
  $this->name = $name;
  return $this;
}