function DisplayPluginCollection::remove
Same name in other branches
- 9 core/modules/views/src/DisplayPluginCollection.php \Drupal\views\DisplayPluginCollection::remove()
- 8.9.x core/modules/views/src/DisplayPluginCollection.php \Drupal\views\DisplayPluginCollection::remove()
- 11.x core/modules/views/src/DisplayPluginCollection.php \Drupal\views\DisplayPluginCollection::remove()
Overrides LazyPluginCollection::remove
File
-
core/
modules/ views/ src/ DisplayPluginCollection.php, line 102
Class
- DisplayPluginCollection
- A class which wraps the displays of a view so you can lazy-initialize them.
Namespace
Drupal\viewsCode
public function remove($instance_id) {
$this->get($instance_id)
->remove();
parent::remove($instance_id);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.