By mparker17 on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-alpha7
Issue links:
Description:
Creating a new \Drupal\elasticsearch_connector\Event\QueryParamsEvent now requires a new query parameter.
A 3rd parameter has been added to contain the \Drupal\search_api\Query\QueryInterface that is being built when the event is dispatched.
Before
new \Drupal\elasticsearch_connector\Event\QueryParamsEvent(
$indexName, // a string
$params, // an array
);
After
new \Drupal\elasticsearch_connector\Event\QueryParamsEvent(
$indexName, // a string
$params, // an array
$query, // a \Drupal\search_api\Query\QueryInterface
);
Impacts:
Module developers