ExtensionList::$addedPathNames

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::addedPathNames
  2. 8.9.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::addedPathNames
  3. 11.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::addedPathNames

A list of extension folder names directly added in code (not discovered).

It is important to keep a separate list to ensure that it takes priority over the discovered extension folders.

@internal

Type: string[]

File

core/lib/Drupal/Core/Extension/ExtensionList.php, line 103

Class

ExtensionList
Provides available extensions.

Namespace

Drupal\Core\Extension

Code

protected $addedPathNames = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.