'group_type' => 'group',
// We need to set the "Display even if view has no result" option to
// TRUE as the input required exposed form plugin will always force an
// empty result if no exposed filters are applied.
'empty' => TRUE,
'content' =>
[ // @see \Drupal\views\Plugin\views\area\Text::render()
'value' =>
$this->options
['text_input_required'
],
'format' =>
$this->options
['text_input_required_format'
],
],
];
$handler = Views::
handlerManager('area'
)->
getHandler($options);
$handler->
init($this->view,
$this->displayHandler,
$options);
$this->displayHandler->handlers
['empty'
] =
[ 'area' =>
$handler,
];
// Override the existing empty result message (if applicable).
$this->displayHandler->
setOption('empty',
['text' =>
$options]);
} } public function query() { if (!
$this->
exposedFilterApplied()) {