function ExtensionList::getInfoCacheId

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

Returns the extension info cache ID.

Return value

string The info cache ID.

2 calls to ExtensionList::getInfoCacheId()
ExtensionList::getAllAvailableInfo in core/lib/Drupal/Core/Extension/ExtensionList.php
Returns an array of info files information of available extensions.
ExtensionList::reset in core/lib/Drupal/Core/Extension/ExtensionList.php
Resets the stored extension list.

File

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

Class

ExtensionList
Provides available extensions.

Namespace

Drupal\Core\Extension

Code

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

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