function TempStoreTrait::setTempStoreFactory

Setter injection for the temporary storage factory.

Parameters

\Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory: The factory.

Return value

$this

File

src/Ui/TempStoreTrait.php, line 97

Class

TempStoreTrait
Provides methods for modified rules components in temporary storage.

Namespace

Drupal\rules\Ui

Code

public function setTempStoreFactory(SharedTempStoreFactory $temp_store_factory) {
    $this->tempStoreFactory = $temp_store_factory;
    return $this;
}