public function HeartbeatAutocompleteController::__construct in Heartbeat 8
Constructs a EntityAutocompleteController object.
Parameters
\Drupal\Core\Entity\EntityAutocompleteMatcherInterface $matcher: The autocomplete matcher for entity references.
\Drupal\Core\KeyValueStore\KeyValueStoreInterface $key_value: The key value factory.
Overrides EntityAutocompleteController::__construct
File
- src/
Controller/ HeartbeatAutocompleteController.php, line 18
Class
Namespace
Drupal\heartbeat\ControllerCode
public function __construct(HeartbeatAutocompleteMatcher $matcher, KeyValueStoreInterface $key_value) {
$this->matcher = $matcher;
$this->keyValue = $key_value;
}