public function StringBase::getId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/StringBase.php \Drupal\locale\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 72 - Contains \Drupal\locale\StringBase.
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\localeCode
public function getId() {
return isset($this->lid) ? $this->lid : NULL;
}