original_string: 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';
      }
code: 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';
      }
code_tokens: 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' ; }
docstring: 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
docstring_tokens: Override for ListController behavior . Modifies the CSS class for each row in the list to