ConfigImporter::getUnprocessedExtensions

protected ConfigImporter::getUnprocessedExtensions($type)

Gets a list of unprocessed changes for extensions.

Parameters

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

Return value

array An array of extension names.

File

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

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

protected function getUnprocessedExtensions($type) {
  $changelist = $this->getExtensionChangelist($type);
  return array(
    'install' => array_diff($changelist['install'], $this->processedExtensions[$type]['install']),
    'uninstall' => array_diff($changelist['uninstall'], $this->processedExtensions[$type]['uninstall']),
  );
}
doc_Drupal
2016-10-29 08:53:40
Comments
Leave a Comment

Please login to continue.