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

Breadcrumb

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

function MissingThemeDependencyException::__construct

Constructs the exception.

Parameters

string $message: The exception message.

string $theme: The missing theme dependency.

File

core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php, line 27

Class

MissingThemeDependencyException
Exception to be thrown when base theme for installed theme is not installed.

Namespace

Drupal\Core\Theme

Code

public function __construct($message, $theme) {
    parent::__construct($message);
    $this->theme = $theme;
}

API Navigation

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