function ExtensionList::getListCacheId

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

Returns the extension list cache ID.

Return value

string The list cache ID.

2 calls to ExtensionList::getListCacheId()
ExtensionList::getList in core/lib/Drupal/Core/Extension/ExtensionList.php
Returns all 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 192

Class

ExtensionList
Provides available extensions.

Namespace

Drupal\Core\Extension

Code

protected function getListCacheId() {
    return 'core.extension.list.' . $this->type;
}

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