You are here

public function Permissions::setStorage in Search API Saved Searches 8

Sets the saved search type storage.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The new saved search type storage.

Return value

$this

File

src/Permissions.php, line 57

Class

Permissions
Provides permissions of the search_api_autocomplete module.

Namespace

Drupal\search_api_saved_searches

Code

public function setStorage(EntityStorageInterface $storage) {
  $this->storage = $storage;
  return $this;
}