public function viewExposedFormBlocks() { // Avoid interfering with the admin forms.
$route_name = \Drupal::
routeMatch()->
getRouteName();
if (str_starts_with($route_name, 'views_ui.'
)) { return;
} $this->view->
initHandlers();
if ($this->
usesExposed() &&
$this->
getOption('exposed_block'
)) { /** @var \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface $exposed_form */
$exposed_form =
$this->
getPlugin('exposed_form'
);
return $exposed_form->
renderExposedForm(TRUE
);
} } /**
* {@inheritdoc}
*/
public function getArgumentText() { return [ 'filter value not present' =>
$this->
t('When the filter value is <em>NOT</em> available'
),
'filter value present' =>
$this->
t('When the filter value <em>IS</em> available or a default is provided'
),
'description' =>
$this->
t("This display does not have a source for contextual filters, so no contextual filter value will be available unless you select 'Provide default'."
),
];