You are here

public function ConfigImporter::getExtensionChangelist in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getExtensionChangelist()
  2. 9 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.

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];
}