You are here

public function UnsavedConfigurationInterface::savePermanent in Search API 8

Saves the changes represented by this object permanently.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Thrown if the "search_api_index" storage handler couldn't be loaded.

\Drupal\Component\Plugin\Exception\PluginNotFoundException Thrown if the "search_api_index" entity type doesn't exist.

\Drupal\Core\Entity\EntityStorageException Thrown if saving the index failed.

\Drupal\Core\TempStore\TempStoreException Thrown when a lock for the temp storage could not be acquired.

1 method overrides UnsavedConfigurationInterface::savePermanent()
UnsavedIndexConfiguration::savePermanent in src/UnsavedIndexConfiguration.php
Saves the changes represented by this object permanently.

File

src/UnsavedConfigurationInterface.php, line 80

Class

UnsavedConfigurationInterface
Represents a piece of configuration that was not permanently saved yet.

Namespace

Drupal\search_api

Code

public function savePermanent();