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\onlyoneCode
public function getLanguageLabel($language);