You are here

protected property ModuleExtensionList::$defaults in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::defaults
  2. 10 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 26

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,
];