protected function Natural::setNaturalSort in Views Natural Sort 8.2
Sets the natural sort flag.
Parameters
bool $value: The value.
1 call to Natural::setNaturalSort()
- Natural::init in src/
Plugin/ views/ sort/ Natural.php - Initialize the plugin.
File
- src/
Plugin/ views/ sort/ Natural.php, line 129
Class
- Natural
- Sort plugin used to allow Natural Sorting.
Namespace
Drupal\views_natural_sort\Plugin\views\sortCode
protected function setNaturalSort($value) {
$this->isNaturalSort = $value;
}