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

Breadcrumb

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

function Container::hasParameter

Same name in this branch
  1. 11.1.x vendor/symfony/dependency-injection/Container.php \Symfony\Component\DependencyInjection\Container::hasParameter()

Overrides ContainerInterface::hasParameter

1 call to Container::hasParameter()
Container::get in core/lib/Drupal/Component/DependencyInjection/Container.php
@template B of self::*_REFERENCE

File

core/lib/Drupal/Component/DependencyInjection/Container.php, line 337

Class

Container
Provides a container optimized for Drupal's needs.

Namespace

Drupal\Component\DependencyInjection

Code

public function hasParameter($name) : bool {
    return \array_key_exists($name, $this->parameters);
}

API Navigation

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