You are here

public function OnlyOneInterface::getLanguageLabel in Allow a content type only once (Only One) 8

Returns the language label.

Parameters

string $language: The language code.

Return value

string The language label.

1 method overrides OnlyOneInterface::getLanguageLabel()
OnlyOne::getLanguageLabel in src/OnlyOne.php
Returns the language label.

File

src/OnlyOneInterface.php, line 54

Class

OnlyOneInterface
Interface OnlyOneInterface.

Namespace

Drupal\onlyone

Code

public function getLanguageLabel($language);