Provide the block system with any exposed widget blocks for this display.
public function getSpecialBlocks() {
$blocks = array();
if ($this
->usesExposedFormInBlock()) {
$delta = '-exp-' . $this->view->storage
->get('name') . '-' . $this->display['id'];
$desc = t('Exposed form: @view-@display_id', array(
'@view' => $this->view->storage
->get('name'),
'@display_id' => $this->display['id'],
));
$blocks[$delta] = array(
'info' => $desc,
'cache' => DRUPAL_NO_CACHE,
);
}
return $blocks;
}