You are here

protected function ExtensionList::getPathnamesCacheId in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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";
}