eZ\Publish\Core\Repository\Values\ContentType\ContentTypeGroup::getDescription PHP Метод

getDescription() публичный Метод

This method returns the name of the content type in the given language.
С версии: 5.0
public getDescription ( string $languageCode ) : string
$languageCode string
Результат string the description for the given language or null if none exists.
    public function getDescription($languageCode)
    {
        if (array_key_exists($languageCode, $this->descriptions)) {
            return $this->descriptions[$languageCode];
        }
        return null;
    }