You are here

public function RateFilter::__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/filter/RateFilter.php, line 38

Class

RateFilter
Simple filter to handle greater than/less than filters.

Namespace

Drupal\rate\Plugin\views\filter

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entityTypeManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityTypeManager = $entityTypeManager;
}