public function getContentType()
    {
        $contentType = $this->getSubject()->contenttype;
        if ($contentType !== null && isset($contentType['slug'])) {
            return $contentType['slug'];
        }

        return null;
    }
public function getContentType()
    {
        $contentType = $this->getSubject()->contenttype;
        if ($contentType !== null && isset($contentType['slug'])) {
            return $contentType['slug'];
        }

        return null;
    }
public function getContentType ( ) { $ contentType = $ this -> getSubject ( ) -> contenttype ; if ( $ contentType !== null && isset ( $ contentType [ 'slug' ] ) ) { return $ contentType [ 'slug' ] ; } return null ; }
Return the record's ContentType name.

@return string
Return the record s ContentType name .