original_string: protected function getListColumnStrategyInstances()
      {
          $instances = [];
  
          $info = $this->getModelInformation();
  
          foreach ($info->list->columns as $key => $data) {
  
              $instance = $this->getListDisplayFactory()->make($data->strategy);
  
              // Feed any extra information we can gather to the instance
              $instance
                  ->setListInformation($data)
                  ->setOptions($data->options());
  
              if ($data->source) {
                  if (isset($info->attributes[ $data->source ])) {
                      $instance->setAttributeInformation(
                          $info->attributes[ $data->source ]
                      );
                  }
              }
  
              $instance->initialize($info->modelClass());
  
              $instances[ $key ] = $instance;
          }
  
          return $instances;
      }
code: protected function getListColumnStrategyInstances()
      {
          $instances = [];
  
          $info = $this->getModelInformation();
  
          foreach ($info->list->columns as $key => $data) {
  
              $instance = $this->getListDisplayFactory()->make($data->strategy);
  
              // Feed any extra information we can gather to the instance
              $instance
                  ->setListInformation($data)
                  ->setOptions($data->options());
  
              if ($data->source) {
                  if (isset($info->attributes[ $data->source ])) {
                      $instance->setAttributeInformation(
                          $info->attributes[ $data->source ]
                      );
                  }
              }
  
              $instance->initialize($info->modelClass());
  
              $instances[ $key ] = $instance;
          }
  
          return $instances;
      }
code_tokens: protected function getListColumnStrategyInstances ( ) { $ instances = [ ] ; $ info = $ this -> getModelInformation ( ) ; foreach ( $ info -> list -> columns as $ key => $ data ) { $ instance = $ this -> getListDisplayFactory ( ) -> make ( $ data -> strategy ) ; // Feed any extra information we can gather to the instance $ instance -> setListInformation ( $ data ) -> setOptions ( $ data -> options ( ) ) ; if ( $ data -> source ) { if ( isset ( $ info -> attributes [ $ data -> source ] ) ) { $ instance -> setAttributeInformation ( $ info -> attributes [ $ data -> source ] ) ; } } $ instance -> initialize ( $ info -> modelClass ( ) ) ; $ instances [ $ key ] = $ instance ; } return $ instances ; }
docstring: Collects and returns strategy instances for list columns.
  
  @return ListDisplayInterface[]
docstring_tokens: Collects and returns strategy instances for list columns .