You are here

public function DefaultLazyPluginCollection::removeInstanceId in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php \Drupal\Core\Plugin\DefaultLazyPluginCollection::removeInstanceId()
  2. 9 core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php \Drupal\Core\Plugin\DefaultLazyPluginCollection::removeInstanceId()

File

core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php, line 182

Class

DefaultLazyPluginCollection
Provides a default plugin collection for a plugin type.

Namespace

Drupal\Core\Plugin

Code

public function removeInstanceId($instance_id) {
  parent::removeInstanceId($instance_id);
  unset($this->originalOrder[$instance_id]);
  unset($this->configurations[$instance_id]);
}