You are here

public function EntityFieldRenderer::setParentPath in Search API 8

Sets the parent path.

Parameters

string|null $parent_path: The property path to the entities rendered by this renderer.

Return value

$this

File

src/Plugin/views/EntityFieldRenderer.php, line 76

Class

EntityFieldRenderer
Renders entity fields.

Namespace

Drupal\search_api\Plugin\views

Code

public function setParentPath($parent_path) {
  $this->parentPath = $parent_path;
  return $this;
}