Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
NotEavAttribute.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
12 
17 {
25  public function getFieldName(AttributeAdapter $attribute, $context = []): ?string
26  {
27  if (!$attribute->isEavAttribute()) {
28  return $attribute->getAttributeCode();
29  }
30 
31  return null;
32  }
33 }