public function SourceString::isSource in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::isSource()
Checks whether the object is a source string.
Return value
bool TRUE if the object is a source string, FALSE otherwise.
Overrides StringInterface::isSource
File
- core/
modules/ locale/ src/ SourceString.php, line 23 - Contains \Drupal\locale\SourceString.
Class
- SourceString
- Defines the locale source string object.
Namespace
Drupal\localeCode
public function isSource() {
return isset($this->source);
}