public function listInjectRowClass($record, $definition = null)
    {
        if ($record->disabledByConfig) {
            return 'hidden';
        }

        if ($record->orphaned || $record->is_disabled) {
            return 'safe disabled';
        }

        if ($definition != 'manage') {
            return;
        }

        if ($record->disabledBySystem) {
            return 'negative';
        }

        if ($record->is_frozen) {
            return 'frozen';
        }

        return 'positive';
    }
public function listInjectRowClass($record, $definition = null)
    {
        if ($record->disabledByConfig) {
            return 'hidden';
        }

        if ($record->orphaned || $record->is_disabled) {
            return 'safe disabled';
        }

        if ($definition != 'manage') {
            return;
        }

        if ($record->disabledBySystem) {
            return 'negative';
        }

        if ($record->is_frozen) {
            return 'frozen';
        }

        return 'positive';
    }
public function listInjectRowClass ( $ record , $ definition = null ) { if ( $ record -> disabledByConfig ) { return 'hidden' ; } if ( $ record -> orphaned || $ record -> is_disabled ) { return 'safe disabled' ; } if ( $ definition != 'manage' ) { return ; } if ( $ record -> disabledBySystem ) { return 'negative' ; } if ( $ record -> is_frozen ) { return 'frozen' ; } return 'positive' ; }
Override for ListController behavior.
Modifies the CSS class for each row in the list to

- hidden - Disabled by configuration
- safe disabled - Orphaned or disabled
- negative - Disabled by system
- frozen - Frozen by the user
- positive - Default CSS class

@see Backend\Behaviors\ListController
@return string
Override for ListController behavior . Modifies the CSS class for each row in the list to