Skip to content

Commit bf4be3e

Browse files
committed
Restored original event, added deprecated message to the event so that it is backward compatible.
1 parent 3d9c304 commit bf4be3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,12 @@ public function getSearchableAttributes($backendType = null)
204204
/** @var \Magento\Eav\Model\Entity\Attribute[] $attributes */
205205
$attributes = $productAttributes->getItems();
206206

207+
/** @deprecated */
208+
$this->eventManager->dispatch(
209+
'catelogsearch_searchable_attributes_load_after',
210+
['engine' => $this->engine, 'attributes' => $attributes]
211+
);
212+
207213
$this->eventManager->dispatch(
208214
'catalogsearch_searchable_attributes_load_after',
209215
['engine' => $this->engine, 'attributes' => $attributes]

0 commit comments

Comments
 (0)