You are here

protected property ModuleExtensionList::$defaults in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::defaults

Default values to be merged into *.info.yml file arrays.

Type: mixed[]

Overrides ExtensionList::$defaults

File

core/lib/Drupal/Core/Extension/ModuleExtensionList.php, line 27

Class

ModuleExtensionList
Provides a list of available modules.

Namespace

Drupal\Core\Extension

Code

protected $defaults = [
  'dependencies' => [],
  'description' => '',
  'package' => 'Other',
  'version' => NULL,
  'php' => \Drupal::MINIMUM_PHP,
];