function StringBase::getId
Gets the string unique identifier.
Return value
int The string identifier.
Overrides StringInterface::getId
1 call to StringBase::getId()
- StringBase::getLocations in core/
modules/ locale/ src/ StringBase.php - Gets location information for this string.
File
-
core/
modules/ locale/ src/ StringBase.php, line 69
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\localeCode
public function getId() {
return $this->lid ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.