Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions about Magento 2 Plugins (BeforePlugin , AfterPlugin and AroundPlugin). Plugins are also known as interceptors in the Magento documentation.
0
votes
1
answer
978
views
Is it possible to use a plugin for a Framework class?
I have written the plugin below but I can't seem to get it triggered.
<? … php
namespace Vendor\ExtendedQuickSearch\Plugin;
use Magento\Framework\Search\Adapter\Mysql\Query\Builder\Match;
class QuickSearch
{
public function beforeGetMatchQuery(
\Magento\Framework …
1
vote
1
answer
219
views
Using Magento Framework as a dependency in module.xml
Currently I am working on a plugin that modifies the Search in Magento 2
The file that I am trying to intercept is located at:
\Magento\Framework\Search\Adapter\Mysql\Query\Builder
To be able to use my … plugin I need to add the "framework" folder inside my module.xml but I do not know if I can even include it
Already tried:
<module name="Magento_Framework" />
<module name="Framework" />
<module name …