public function geti18nTypes()
    {
        $i18nTypes = [];
        // Get translatable labels
        foreach ($this->Types as $key => $label) {
            $i18nTypes[$key] = _t(__CLASS__ . '.TYPE'.strtoupper($key), $label);
        }
        $this->extend('updatei18nTypes', $i18nTypes);
        return $i18nTypes;
    }
public function geti18nTypes()
    {
        $i18nTypes = [];
        // Get translatable labels
        foreach ($this->Types as $key => $label) {
            $i18nTypes[$key] = _t(__CLASS__ . '.TYPE'.strtoupper($key), $label);
        }
        $this->extend('updatei18nTypes', $i18nTypes);
        return $i18nTypes;
    }
public function geti18nTypes ( ) { $ i18nTypes = [ ] ; // Get translatable labels foreach ( $ this -> Types as $ key => $ label ) { $ i18nTypes [ $ key ] = _t ( __CLASS__ . '.TYPE' . strtoupper ( $ key ) , $ label ) ; } $ this -> extend ( 'updatei18nTypes' , $ i18nTypes ) ; return $ i18nTypes ; }
Returns allowed link types with translations
@return array
Returns allowed link types with translations