IndexRecordContentTransformationManager.php in Views Natural Sort 8.2
File
src/Plugin/IndexRecordContentTransformationManager.php
View source
<?php
namespace Drupal\views_natural_sort\Plugin;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
class IndexRecordContentTransformationManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/IndexRecordContentTransformation', $namespaces, $module_handler, 'Drupal\\views_natural_sort\\Plugin\\IndexRecordContentTransformationInterface', 'Drupal\\views_natural_sort\\Annotation\\IndexRecordContentTransformation');
$this
->alterInfo('views_natural_sort_vns_transformation_info');
$this
->setCacheBackend($cache_backend, 'views_natural_sort_vns_transformation_plugins');
}
}