function ExtensionList::getPathNamesCacheId

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

Returns the extension filenames cache ID.

Return value

string The filename cache ID.

2 calls to ExtensionList::getPathNamesCacheId()
ExtensionList::getPathNames in core/lib/Drupal/Core/Extension/ExtensionList.php
Returns a list of extension file paths keyed by machine name.
ExtensionList::reset in core/lib/Drupal/Core/Extension/ExtensionList.php
Resets the stored extension list.

File

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

Class

ExtensionList
Provides available extensions.

Namespace

Drupal\Core\Extension

Code

protected function getPathNamesCacheId() {
    return "system.{$this->type}.files";
}

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