comparison core/modules/locale/src/SourceString.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
8 * This class represents a module-defined string value that is to be translated. 8 * This class represents a module-defined string value that is to be translated.
9 * This string must at least contain a 'source' field, which is the raw source 9 * This string must at least contain a 'source' field, which is the raw source
10 * value, and is assumed to be in English language. 10 * value, and is assumed to be in English language.
11 */ 11 */
12 class SourceString extends StringBase { 12 class SourceString extends StringBase {
13
13 /** 14 /**
14 * {@inheritdoc} 15 * {@inheritdoc}
15 */ 16 */
16 public function isSource() { 17 public function isSource() {
17 return isset($this->source); 18 return isset($this->source);