function DisplayPluginBase::getSpecialBlocks
Provides the block system with any exposed widget blocks for this display.
Overrides DisplayPluginInterface::getSpecialBlocks
File
- 
              core/modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 2617 
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function getSpecialBlocks() {
  $blocks = [];
  if ($this->usesExposedFormInBlock()) {
    $delta = '-exp-' . $this->view->storage
      ->id() . '-' . $this->display['id'];
    $desc = $this->t('Exposed form: @view-@display_id', [
      '@view' => $this->view->storage
        ->id(),
      '@display_id' => $this->display['id'],
    ]);
    $blocks[$delta] = [
      'info' => $desc,
    ];
  }
  return $blocks;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
