You are here

public function OneBoxResultSet::__construct in Google Search Appliance 8

Constructs a new OneBoxResultSet object.

Parameters

string $moduleName: Module name.

string $provider: Provider.

string $urlText: URL text.

string $urlLink: URL link.

string $image: Image.

string $description: Description.

File

src/SearchResults/OneBoxResultSet.php, line 75

Class

OneBoxResultSet
Defines a value object for a one-box result set.

Namespace

Drupal\google_appliance\SearchResults

Code

public function __construct($moduleName, $provider, $urlText, $urlLink, $image, $description) {
  $this->moduleName = $moduleName;
  $this->provider = $provider;
  $this->urlText = $urlText;
  $this->urlLink = $urlLink;
  $this->image = $image;
  $this->description = $description;
}