DropdownTranslation::getNumberOfTranslations PHP Method

getNumberOfTranslations() static public method

Return the number of translations for a field in a language
static public getNumberOfTranslations ( $itemtype, $items_id, $field, $language ) : the
return the number of translations for this field
    static function getNumberOfTranslations($itemtype, $items_id, $field, $language)
    {
        return countElementsInTable(getTableForItemType(__CLASS__), ['itemtype' => $itemtype, 'items_id' => $items_id, 'field' => $field, 'language' => $language]);
    }