public function Eva::remove in EVA: Entity Views Attachment 8.2
Same name and namespace in other branches
- 8 src/Plugin/views/display/Eva.php \Drupal\eva\Plugin\views\display\Eva::remove()
Reacts on deleting a display.
Overrides DisplayPluginBase::remove
File
- src/
Plugin/ views/ display/ Eva.php, line 296
Class
- Eva
- The plugin that handles an EVA display in views.
Namespace
Drupal\eva\Plugin\views\displayCode
public function remove() {
// Clean up display configs before the display disappears.
$longname = $this->view->storage
->get('id') . '_' . $this->display['id'];
$this->evaViewDisplays
->clearDetached($longname);
parent::remove();
}