4f73f9c9cbf3ced36889a358a32cf0c99d4c32cb
[yaffs-website] / web / core / lib / Drupal / Core / Extension / ProfileExtensionList.php
1 <?php
2
3 namespace Drupal\Core\Extension;
4
5 /**
6  * Provides a list of installation profiles.
7  */
8 class ProfileExtensionList extends ExtensionList {
9
10   /**
11    * {@inheritdoc}
12    */
13   protected $defaults = [
14     'dependencies' => [],
15     'install' => [],
16     'description' => '',
17     'package' => 'Other',
18     'version' => NULL,
19     'php' => DRUPAL_MINIMUM_PHP,
20   ];
21
22   /**
23    * {@inheritdoc}
24    */
25   protected function getInstalledExtensionNames() {
26     return [$this->installProfile];
27   }
28
29 }