Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getName()
  2. 9 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getName()

Returns the name of this configuration object.

Return value

string The name of the configuration object.

6 calls to ConfigBase::getName()
ImmutableConfig::clear in core/lib/Drupal/Core/Config/ImmutableConfig.php
Unsets a value in this configuration object.
ImmutableConfig::delete in core/lib/Drupal/Core/Config/ImmutableConfig.php
Deletes the configuration object.
ImmutableConfig::save in core/lib/Drupal/Core/Config/ImmutableConfig.php
Saves the configuration object.
ImmutableConfig::set in core/lib/Drupal/Core/Config/ImmutableConfig.php
Sets a value in this configuration object.
StorableConfigBase::castValue in core/lib/Drupal/Core/Config/StorableConfigBase.php
Casts the value to correct data type using the configuration schema.

... See full list

File

core/lib/Drupal/Core/Config/ConfigBase.php, line 66

Class

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

Namespace

Drupal\Core\Config

Code

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