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

Breadcrumb

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

function BlockTheme::__construct

Constructs a BlockTheme object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\Config $theme_config: The system.theme configuration factory object.

array $themes: The list of themes available on the destination.

File

core/modules/block/src/Plugin/migrate/process/BlockTheme.php, line 42

Class

BlockTheme

Namespace

Drupal\block\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Config $theme_config, array $themes) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
    $this->themeConfig = $theme_config;
    $this->themes = $themes;
}
RSS feed
Powered by Drupal