DaysOfTheWeek.php in Views Natural Sort 8.2
File
src/Plugin/IndexRecordContentTransformation/DaysOfTheWeek.php
View source
<?php
namespace Drupal\views_natural_sort\Plugin\IndexRecordContentTransformation;
use Drupal\views_natural_sort\Plugin\IndexRecordContentTransformationBase as TransformationBase;
class DaysOfTheWeek extends TransformationBase {
public function transform($string) {
return $string;
}
}
Classes
Name |
Description |
DaysOfTheWeek |
@IndexRecordContentTransformation (
id = "days_of_the_week",
label =
Plugin annotation
@Translation("Days of the Week")
) |