public static function CustomLanguageManager::getCustomLanguageManager in Custom Language field 8
Gets the unique manager.
Return value
\Drupal\languagefield\Entity\CustomLanguageManager Language manager.
File
- src/
Entity/ CustomLanguageManager.php, line 49
Class
- CustomLanguageManager
- Defines the CustomLanguage entity.
Namespace
Drupal\languagefield\EntityCode
public static function getCustomLanguageManager() {
if (static::$customLanguageManager == NULL) {
static::$customLanguageManager = new CustomLanguageManager();
}
return static::$customLanguageManager;
}