You are here

private function OptionalModuleManager::getInfoDefaults in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::getInfoDefaults()
  2. 10.3.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::getInfoDefaults()
  3. 10.0.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::getInfoDefaults()
  4. 10.1.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::getInfoDefaults()
  5. 10.2.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::getInfoDefaults()

Get the default values for optional feature info parameters.

Return value

array The default values for optional feature info parameters.

2 calls to OptionalModuleManager::getInfoDefaults()
OptionalModuleManager::getInstallProfileFeatureDefinitions in src/Installer/OptionalModuleManager.php
Loads feature definitions from a `profile.feature_list.yml` in the profile.
OptionalModuleManager::getOptionalModuleInfo in src/Installer/OptionalModuleManager.php
Load the optional module info for the extension.

File

src/Installer/OptionalModuleManager.php, line 206

Class

OptionalModuleManager
Optional Module Manager.

Namespace

Drupal\social\Installer

Code

private function getInfoDefaults() : array {
  return [
    'default' => FALSE,
    'weight' => 0,
  ];
}