public function StringBase::setId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::setId()
Sets the string unique identifier.
Parameters
int $id: The string identifier.
Return value
$this
Overrides StringInterface::setId
File
- core/
modules/ locale/ src/ StringBase.php, line 79 - Contains \Drupal\locale\StringBase.
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\localeCode
public function setId($lid) {
$this->lid = $lid;
return $this;
}