function StringInterface::setId
Same name in other branches
- 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setId()
- 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setId()
- 11.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setId()
Sets the string unique identifier.
Parameters
int $id: The string identifier.
Return value
$this
1 method overrides StringInterface::setId()
- StringBase::setId in core/
modules/ locale/ src/ StringBase.php - Sets the string unique identifier.
File
-
core/
modules/ locale/ src/ StringInterface.php, line 26
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function setId($id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.