public function ViewsNaturalSortService::getTransformations in Views Natural Sort 8.2
Get the full list of transformations to run when saving an index record.
Parameters
\Drupal\views_natural_sort\IndexRecord $record: The original entry to be written to the views_natural_sort table.
Return value
array The final list of transformations.
1 call to ViewsNaturalSortService::getTransformations()
File
- src/
ViewsNaturalSortService.php, line 65
Class
- ViewsNaturalSortService
- Service that manages Views Natural Sort records.
Namespace
Drupal\views_natural_sortCode
public function getTransformations(IndexRecord $record) {
$transformations = $this
->getDefaultTransformations();
$this->moduleHandler
->alter('views_natural_sort_transformations', $transformations, $record);
return $transformations;
}