You are here

public function ContentEntityFallback::setFallbackController in Entity Language Fallback 8

Set fallback controller instance.

Parameters

\Drupal\entity_language_fallback\FallbackControllerInterface $controller:

File

src/Plugin/search_api/datasource/ContentEntityFallback.php, line 186

Class

ContentEntityFallback
Represents a datasource which exposes the content entities.

Namespace

Drupal\entity_language_fallback\Plugin\search_api\datasource

Code

public function setFallbackController(FallbackControllerInterface $controller) {
  $this->fallbackController = $controller;
}