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

Breadcrumb

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

function Config::has

Checks whether a setting exists

File

vendor/composer/composer/src/Composer/Config.php, line 526

Class

Config
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer

Code

public function has(string $key) : bool {
    return array_key_exists($key, $this->config);
}
RSS feed
Powered by Drupal