public function ConfigImporter::getExtensionChangelist

public ConfigImporter::getExtensionChangelist($type, $op = NULL)

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 425

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigImporter.php/function/ConfigImporter::getExtensionChangelist/8.1.x