You are here

public function ConfigImporter::getExtensionChangelist in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getExtensionChangelist()

Gets a list changes for extensions.

Parameters

string $type: The type of extension, either 'theme' or 'module'.

string $op: The change operation to get the unprocessed list for, either install or uninstall.

Return value

array An array of extension names.

1 call to ConfigImporter::getExtensionChangelist()
ConfigImporter::getUnprocessedExtensions in core/lib/Drupal/Core/Config/ConfigImporter.php
Gets a list of unprocessed changes for extensions.

File

core/lib/Drupal/Core/Config/ConfigImporter.php, line 446

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

public function getExtensionChangelist($type, $op = NULL) {
  if ($op) {
    return $this->extensionChangelist[$type][$op];
  }
  return $this->extensionChangelist[$type];
}