You are here

public function Eva::remove in EVA: Entity Views Attachment 8

Same name and namespace in other branches
  1. 8.2 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 207

Class

Eva
The plugin that handles an EVA display in views.

Namespace

Drupal\eva\Plugin\views\display

Code

public function remove() {

  // clean up display configs before the display disappears
  $longname = $this->view->storage
    ->get('id') . '_' . $this->display['id'];
  _eva_clear_detached($longname);
  parent::remove();
}