You are here

public function SourceString::isNew in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::isNew()
  2. 9 core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::isNew()

File

core/modules/locale/src/SourceString.php, line 46

Class

SourceString
Defines the locale source string object.

Namespace

Drupal\locale

Code

public function isNew() {
  return empty($this->lid);
}