You are here

public function Result::addMeta in Google Search Appliance 8

Adds meta.

Parameters

string $name: Name.

string $value: Value.

Return value

$this

File

src/SearchResults/Result.php, line 115

Class

Result
Defines a value object representing a search result.

Namespace

Drupal\google_appliance\SearchResults

Code

public function addMeta($name, $value) {
  $this->meta[$name] = $value;
  return $this;
}