app/Functions/FunctionsEdit.php
public static function optionsRestrictionsRule(): array
    {
        $options = [
            'none'         => I18N::translate('Show to visitors'),
            'privacy'      => I18N::translate('Show to members'),
            'confidential' => I18N::translate('Show to managers'),
            'hidden'       => I18N::translate('Hide from everyone'),
        ];

        return $options;
    }
public static function optionsRestrictionsRule(): array
    {
        $options = [
            'none'         => I18N::translate('Show to visitors'),
            'privacy'      => I18N::translate('Show to members'),
            'confidential' => I18N::translate('Show to managers'),
            'hidden'       => I18N::translate('Hide from everyone'),
        ];

        return $options;
    }
public static function optionsRestrictionsRule ( ) : array { $ options = [ 'none' => I18N :: translate ( 'Show to visitors' ) , 'privacy' => I18N :: translate ( 'Show to members' ) , 'confidential' => I18N :: translate ( 'Show to managers' ) , 'hidden' => I18N :: translate ( 'Hide from everyone' ) , ] ; return $ options ; }
A list of GEDCOM restrictions for privacy rules.

@return string[]
A list of GEDCOM restrictions for privacy rules .