public function OneBoxResult::__construct in Google Search Appliance 8
Constructs a new OneBoxResult object.
Parameters
string $absoluteUrl: Absolute URL.
string $title: Title.
File
- src/
SearchResults/ OneBoxResult.php, line 39
Class
- OneBoxResult
- Defines a value object for a one-box result.
Namespace
Drupal\google_appliance\SearchResultsCode
public function __construct($absoluteUrl, $title) {
$this->absoluteUrl = $absoluteUrl;
$this->title = $title;
}