eZ\Publish\Core\Repository\Values\ContentType\ContentTypeDraft::getName PHP Method

getName() public method

This method returns the name of the content type in the given language.
public getName ( string $languageCode ) : string
$languageCode string
return string the name for the given language or null if none exists.
    public function getName($languageCode)
    {
        return $this->innerContentType->getName($languageCode);
    }