public function RateSort::__construct in Rate 8
RateFilter constructor.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: EntityTypeManager service.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ sort/ RateSort.php, line 38
Class
- RateSort
- Basic sort handler for Rates.
Namespace
Drupal\rate\Plugin\views\sortCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entityTypeManager;
}