You are here

IndexRecordContentTransformationBase.php in Views Natural Sort 8.2

File

src/Plugin/IndexRecordContentTransformationBase.php
View source
<?php

namespace Drupal\views_natural_sort\Plugin;

use Drupal\Component\Plugin\PluginBase;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * Base class for Views Natural Sort Index Record Content Transformation plugins.
 */
abstract class IndexRecordContentTransformationBase extends PluginBase implements IndexRecordContentTransformationInterface, ContainerFactoryPluginInterface {
  public function __construct(array $configuration, $plugin_id, $plugin_definition) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
  }

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($configuration, $plugin_id, $plugin_definition);
  }

}

Classes

Namesort descending Description
IndexRecordContentTransformationBase Base class for Views Natural Sort Index Record Content Transformation plugins.