function LocaleProjectStorageInterface::set

Same name in other branches
  1. 8.9.x core/modules/locale/src/LocaleProjectStorageInterface.php \Drupal\locale\LocaleProjectStorageInterface::set()
  2. 10 core/modules/locale/src/LocaleProjectStorageInterface.php \Drupal\locale\LocaleProjectStorageInterface::set()
  3. 11.x core/modules/locale/src/LocaleProjectStorageInterface.php \Drupal\locale\LocaleProjectStorageInterface::set()

Creates or updates the project record.

Parameters

string $key: The key of the data to store.

mixed $value: The data to store.

1 method overrides LocaleProjectStorageInterface::set()
LocaleProjectStorage::set in core/modules/locale/src/LocaleProjectStorage.php
Creates or updates the project record.

File

core/modules/locale/src/LocaleProjectStorageInterface.php, line 42

Class

LocaleProjectStorageInterface
Defines the locale project storage interface.

Namespace

Drupal\locale

Code

public function set($key, $value);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.