Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigBase.php

function 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\Config

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal