Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CatalogProductLink.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Mtf\Fixture\InjectableFixture;
10 
15 {
21  protected $gridBlock = './ancestor::body//*[contains(@id, "options_fieldset")]//div[contains(@class, "main-col")]';
22 
28  // @codingStandardsIgnoreStart
29  protected $pathToGrid = \Magento\Widget\Test\Block\Adminhtml\Widget\Instance\Edit\Tab\ParametersType\CatalogProductLink\Grid::class;
30  // @codingStandardsIgnoreEnd
31 
38  protected function prepareFilter(InjectableFixture $entity)
39  {
40  return ['name' => $entity->getName()];
41  }
42 }
$entity
Definition: element.phtml:22