protected function getCategoryNameAttribute()
    {
        $this->categoryNameAttribute = $this->eavConfig->getAttribute(\Magento\Catalog\Model\Category::ENTITY, 'name');

        return $this->categoryNameAttribute;
    }
protected function getCategoryNameAttribute()
    {
        $this->categoryNameAttribute = $this->eavConfig->getAttribute(\Magento\Catalog\Model\Category::ENTITY, 'name');

        return $this->categoryNameAttribute;
    }
protected function getCategoryNameAttribute ( ) { $ this -> categoryNameAttribute = $ this -> eavConfig -> getAttribute ( \ Magento \ Catalog \ Model \ Category :: ENTITY , 'name' ) ; return $ this -> categoryNameAttribute ; }
Returns category name attribute

@return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
Returns category name attribute