function ConfigImporter::getExtensionChangelist

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getExtensionChangelist()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getExtensionChangelist()
  3. 11.x 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 504

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.