You are here

protected function ConfigurationUpdate::getExtensions in Update helper 2.x

Get installed non_core extensions.

Return value

\Drupal\Core\Extension\Extension[] The list of installed non-core extensions keyed by the extension name.

1 call to ConfigurationUpdate::getExtensions()
ConfigurationUpdate::interact in src/Generators/ConfigurationUpdate.php

File

src/Generators/ConfigurationUpdate.php, line 187

Class

ConfigurationUpdate
Implements d8:configuration:update command.

Namespace

Drupal\update_helper\Generators

Code

protected function getExtensions() : array {
  $extensions = array_filter($this->extensionList
    ->getList(), static function ($extension) : bool {
    return $extension->origin !== 'core';
  });
  ksort($extensions);
  return $extensions;
}