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

Breadcrumb

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

function KernelInterface::getBundle

Returns a bundle.

Throws

\InvalidArgumentException when the bundle is not enabled

1 method overrides KernelInterface::getBundle()
Kernel::getBundle in vendor/symfony/http-kernel/Kernel.php
Returns a bundle.

File

vendor/symfony/http-kernel/KernelInterface.php, line 69

Class

KernelInterface
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function getBundle(string $name) : BundleInterface;
RSS feed
Powered by Drupal