public function languageCreate(\stdClass $language)
    {
        $this->dispatchHooks('BeforeLanguageCreateScope', $language);
        $language = $this->getDriver()->languageCreate($language);
        if ($language) {
            $this->dispatchHooks('AfterLanguageCreateScope', $language);
            $this->languages[$language->langcode] = $language;
        }
        return $language;
    }
public function languageCreate(\stdClass $language)
    {
        $this->dispatchHooks('BeforeLanguageCreateScope', $language);
        $language = $this->getDriver()->languageCreate($language);
        if ($language) {
            $this->dispatchHooks('AfterLanguageCreateScope', $language);
            $this->languages[$language->langcode] = $language;
        }
        return $language;
    }
public function languageCreate ( \ stdClass $ language ) { $ this -> dispatchHooks ( 'BeforeLanguageCreateScope' , $ language ) ; $ language = $ this -> getDriver ( ) -> languageCreate ( $ language ) ; if ( $ language ) { $ this -> dispatchHooks ( 'AfterLanguageCreateScope' , $ language ) ; $ this -> languages [ $ language -> langcode ] = $ language ; } return $ language ; }
Creates a language.

@param \stdClass $language
An object with the following properties:
- langcode: the langcode of the language to create.

@return object|FALSE
The created language, or FALSE if the language was already created.
Creates a language .