public function LocaleProjectStorageInterface::set in Drupal 9
Same name and namespace in other branches
- 8 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\localeCode
public function set($key, $value);