function ComponentNegotiator::clearCache

Clears the negotiation cache.

File

core/lib/Drupal/Core/Theme/ComponentNegotiator.php, line 169

Class

ComponentNegotiator
Determines which component should be used.

Namespace

Drupal\Core\Theme

Code

public function clearCache() : void {
  $this->cache = [];
}

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