function EntityLinks::__construct

Same name and namespace in other branches
  1. 11.x core/modules/filter/src/Plugin/Filter/EntityLinks.php \Drupal\filter\Plugin\Filter\EntityLinks::__construct()

Constructs a EntityLinks object.

Overrides FilterBase::__construct

File

core/modules/filter/src/Plugin/Filter/EntityLinks.php, line 34

Class

EntityLinks
Provides the Entity Links filter.

Namespace

Drupal\filter\Plugin\Filter

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, protected readonly EntityRepositoryInterface $entityRepository) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.