lib/components/db/behaviors/SearchTermResult.php
public function getObjectTypeDescriptor()
    {
        if (is_null($this->_objectTypeDescriptor) && isset($this->object)) {
            $this->_objectTypeDescriptor = $this->object->objectType->title->upperSingular;
        }

        return $this->_objectTypeDescriptor;
    }
public function getObjectTypeDescriptor()
    {
        if (is_null($this->_objectTypeDescriptor) && isset($this->object)) {
            $this->_objectTypeDescriptor = $this->object->objectType->title->upperSingular;
        }

        return $this->_objectTypeDescriptor;
    }
Get object type descriptor.

@return [[@doctodo return_type:getObjectTypeDescriptor]] [[@doctodo return_description:getObjectTypeDescriptor]]