You are here

class ProfileExtensionList in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Extension/ProfileExtensionList.php \Drupal\Core\Extension\ProfileExtensionList
  2. 9 core/lib/Drupal/Core/Extension/ProfileExtensionList.php \Drupal\Core\Extension\ProfileExtensionList

Provides a list of installation profiles.

@internal This class is not yet stable and therefore there are no guarantees that the internal implementations including constructor signature and protected properties / methods will not change over time. This will be reviewed after https://www.drupal.org/project/drupal/issues/2940481

Hierarchy

Expanded class hierarchy of ProfileExtensionList

7 files declare their use of ProfileExtensionList
ExtensionPathResolverTest.php in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
InstallerDependenciesResolutionTest.php in core/modules/system/tests/src/Kernel/Installer/InstallerDependenciesResolutionTest.php
InstallerLanguageTest.php in core/tests/Drupal/KernelTests/Core/Installer/InstallerLanguageTest.php
LibrariesDirectoryFileFinder.php in core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php
LibrariesDirectoryFileFinderTest.php in core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php

... See full list

1 string reference to 'ProfileExtensionList'
core.services.yml in core/core.services.yml
core/core.services.yml
1 service uses ProfileExtensionList
extension.list.profile in core/core.services.yml
Drupal\Core\Extension\ProfileExtensionList

File

core/lib/Drupal/Core/Extension/ProfileExtensionList.php, line 14

Namespace

Drupal\Core\Extension
View source
class ProfileExtensionList extends ExtensionList {

  /**
   * {@inheritdoc}
   */
  protected $defaults = [
    'dependencies' => [],
    'install' => [],
    'description' => '',
    'package' => 'Other',
    'version' => NULL,
    'php' => \Drupal::MINIMUM_PHP,
  ];

  /**
   * {@inheritdoc}
   */
  protected function getInstalledExtensionNames() {
    return [
      $this->installProfile,
    ];
  }

}

Members