You are here

public function LimitedPluginDiscoveryDecorator::resetDiscoveryLimit in Plugin 8.2

Resets the discovery limit.

Return value

$this

Overrides LimitedPluginDiscoveryInterface::resetDiscoveryLimit

File

src/PluginDiscovery/LimitedPluginDiscoveryDecorator.php, line 42

Class

LimitedPluginDiscoveryDecorator
Provides a filtered plugin manager.

Namespace

Drupal\plugin\PluginDiscovery

Code

public function resetDiscoveryLimit() {
  $this->discoveryLimit = NULL;
  $this
    ->clearCachedDefinitions();
  return $this;
}