public function ViewsNaturalSortService::createIndexRecord in Views Natural Sort 8.2
1 call to ViewsNaturalSortService::createIndexRecord()
File
- src/
ViewsNaturalSortService.php, line 257
Class
- ViewsNaturalSortService
- Service that manages Views Natural Sort records.
Namespace
Drupal\views_natural_sortCode
public function createIndexRecord(array $values = []) {
$record = new IndexRecord($this->database, $values);
$transformations = $this
->getTransformations($record);
$record
->setTransformations($transformations);
return $record;
}