public function DeterminingServerFeaturesEvent::__construct in Search API 8
Constructs a new class instance.
Parameters
array $features: Reference to the features supported by the server's backend.
\Drupal\search_api\ServerInterface $server: The search server in question.
File
- src/
Event/ DeterminingServerFeaturesEvent.php, line 35
Class
- DeterminingServerFeaturesEvent
- Wraps a determining server features event.
Namespace
Drupal\search_api\EventCode
public function __construct(array &$features, ServerInterface $server) {
$this->features =& $features;
$this->server = $server;
}