function ExtensionList::getPathnamesCacheId

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getPathnamesCacheId()
  2. 10 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 211

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.