You are here

public function DatabaseStorageList::push in Key-value Extensions 8

Parameters

mixed $value:

Return value

null

Overrides KeyValueStoreListInterface::push

File

src/KeyValueStore/DatabaseStorageList.php, line 24

Class

DatabaseStorageList

Namespace

Drupal\key_value\KeyValueStore

Code

public function push($value) {
  $this
    ->pushMultiple([
    $value,
  ]);
}