Returns category "use name in product search" attribute

@return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
168517
protected function getUseNameInSearchAttribute()
    {
        $this->useNameInSearchAttribute = $this->eavConfig
            ->getAttribute(\Magento\Catalog\Model\Category::ENTITY, 'use_name_in_product_search');

        return $this->useNameInSearchAttribute;
    }
1150065
public function getAttributes()
    {
        $attributeEntities = $this->entity->getProductAttributes();

        $attributes = [];
        foreach ($attributeEntities as $attributesEntity) {
            $attributes[] = new ProductAttribute(
                $attributesEntity,
                $this->locale,
                $this->productLocaleManager->getFallbackLocale()
            );
        }

        return $attributes;
    }
766814
public function getShowNoRegOption()
    {
        if ($this->_blShowNoRegOpt === null) {
            $this->_blShowNoRegOpt = !\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blOrderDisWithoutReg');
        }

        return $this->_blShowNoRegOpt;
    }
614293
public function getProductList()
    {
        if ($this->_oSearchProductList === null) {
            $this->_oSearchProductList = oxNew(\OxidEsales\Eshop\Core\Model\ListModel::class);

            // main search product is found?
            if ($oMainSearchProduct = $this->getMainProduct()) {
                // storing self to first list position
                $this->_oSearchProductList->offsetSet($oMainSearchProduct->getId(), $oMainSearchProduct);

                // adding variants..
                foreach ($oMainSearchProduct->getVariants() as $oVariant) {
                    $this->_oSearchProductList->offsetSet($oVariant->getId(), $oVariant);
                }
            }
        }

        return $this->_oSearchProductList;
    }
882608
public function getItemSchema()
	{
		$attributes = $this->_getManager()->getSearchAttributes( false );
		return array(
			'name' => $this->_name,
			'properties' => $this->_getAttributeSchema( $attributes ),
		);
	}
510766
public function getDisplayNameAttribute()
    {
        if (! is_null($this->details->display_name)) {
            return $this->details->display_name;
        }

        if (! is_null($this->details->full_name)) {
            return $this->details->full_name;
        }

        return $this->email;
    }
1274535
public function getActCategory()
    {
        $oCat = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);

        return ($oCat->load($this->getActCatId())) ? $oCat : null;
    }
1153314
public function getLinkAttribute()
    {
        $category = FieldCategory::query()->first();
        if (is_null($category)) {
            return handles('antares::customfields/index');
        }
        return handles('antares::customfields/' . $category->name . '/index');
    }
435444
protected function _getProductListItemHandleName()
    {
        $handleCode = $this->_scopeConfig->getValue(
            self::PRODUCTLISTITEM_LAYOUT_CONFIG_PATH,
            ScopeInterface::SCOPE_STORE
        );
        if (!$handleCode) {
            $handleCode = 1;
        }

        if ($this->_isSearch()) {
            $return = self::PRODUCTSEARCHITEM_LAYOUT_HANDLE_PREFIX . $handleCode;
        } else {
            $return = self::PRODUCTLISTITEM_LAYOUT_HANDLE_PREFIX . $handleCode;
        }

        return $return;
    }
624389
protected function getIntervalItems()
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'attribute' );

		$search = $manager->createSearch();
		$expr = [
			$search->compare( '==', 'attribute.type', 'interval' ),
			$search->compare( '==', 'attribute.domain', 'product' ),
		];
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSortations( [$search->sort( '+', 'attribute.code' )] );

		return $manager->searchItems( $search );
	}
718004
public function getAttributeList()
    {
        if ($this->_oAttributeList === null) {
            $this->_oAttributeList = false;
            if ($oArtList = $this->getCompArtList()) {
                $aProductIds = array_keys($oArtList);
                foreach ($oArtList as $oArticle) {
                    if ($oArticle->getParentId()) {
                        $aProductIds[] = $oArticle->getParentId();
                    }
                }
                $oAttributeList = oxNew(\OxidEsales\Eshop\Application\Model\AttributeList::class);
                $this->_oAttributeList = $oAttributeList->loadAttributesByIds($aProductIds);
            }
        }

        return $this->_oAttributeList;
    }
844675
protected function prepareAttributes()
    {

        // prepare the attributes
        $attr = parent::prepareAttributes();

        // query whether or not, we found a new product bundle selection
        if ($attr[EntityStatus::MEMBER_NAME] === EntityStatus::STATUS_CREATE) {
            $attr[MemberNames::SELECTION_ID] = $this->nextIdentifier();
        }

        // return the attributes
        return $attr;
    }
1082373
public function getCurrentCategory()
    {
        $currentCategory = $this->_coreRegistry->registry('current_category');
        if (null === $currentCategory) {
            // try if there is a product
            $currentProduct = $this->_coreRegistry->registry('product');
            if (null !== $currentProduct) {
                $productCatIds = $currentProduct->getCategoryIds();
                $firstCatId = reset($productCatIds);
                $currentCategory = $this->_categoryRepository->get(
                    $firstCatId,
                    $this->_storeManager->getStore()->getId()
                );
            }
        }
        return $currentCategory;
    }
793774
public function getDefaultSorting()
    {
        $sorting = parent::getDefaultSorting();
        $activeCategory = $this->getActiveCategory();

        if ($this->getListType() != 'search' && $activeCategory && $activeCategory instanceof \OxidEsales\Eshop\Application\Model\Category) {
            if ($categorySorting = $activeCategory->getDefaultSorting()) {
                $sortingDirection = ($activeCategory->getDefaultSortingMode()) ? "desc" : "asc";
                $sorting = ['sortby' => $categorySorting, 'sortdir' => $sortingDirection];
            }
        }

        return $sorting;
    }
1104046
private function getUseStorePositionsAttribute()
    {
        $this->useStorePositionsAttribute = $this->getEavConfig()
            ->getAttribute(\Magento\Catalog\Model\Category::ENTITY, 'use_store_positions');

        return $this->useStorePositionsAttribute;
    }
501513
public function getActiveCategory()
    {
        $oCategory = \OxidEsales\Eshop\Core\Registry::getConfig()->getTopActiveView()->getActiveCategory();
        if ($oCategory) {
            $this->setActiveCategory($oCategory);
        }

        return $this->_oActCategory;
    }
816007
public function getCategory() : ?string 
    {
        if ( ! $this->hasCategory()) {
            $this->setCategory($this->getDefaultCategory());
        }
        return $this->category;
    }