function StringBase::getId

Same name and namespace in other branches
  1. 8.9.x core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getId()
  2. 10 core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getId()
  3. 11.x core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getId()

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\locale

Code

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.