public function LazyPluginCollection::removeInstanceId in Plug 7
Removes an instance ID.
Parameters
string $instance_id: The ID of the plugin instance to remove.
1 call to LazyPluginCollection::removeInstanceId()
- DefaultLazyPluginCollection::removeInstanceId in lib/
Drupal/ Core/ Plugin/ DefaultLazyPluginCollection.php - Removes an instance ID.
1 method overrides LazyPluginCollection::removeInstanceId()
- DefaultLazyPluginCollection::removeInstanceId in lib/
Drupal/ Core/ Plugin/ DefaultLazyPluginCollection.php - Removes an instance ID.
File
- lib/
Drupal/ Component/ Plugin/ LazyPluginCollection.php, line 145 - Contains \Drupal\Component\Plugin\LazyPluginCollection.
Class
- LazyPluginCollection
- Defines an object which stores multiple plugin instances to lazy load them.
Namespace
Drupal\Component\PluginCode
public function removeInstanceId($instance_id) {
unset($this->instanceIDs[$instance_id]);
$this
->remove($instance_id);
}