function TranslationsStream::getExternalUrl
Same name in other branches
- 8.9.x core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getExternalUrl()
- 10 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getExternalUrl()
- 11.x core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getExternalUrl()
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
Throws
\LogicException PO files URL should not be public.
Overrides StreamWrapperInterface::getExternalUrl
File
-
core/
modules/ locale/ src/ StreamWrapper/ TranslationsStream.php, line 48
Class
- TranslationsStream
- Defines a Drupal translations (translations://) stream wrapper class.
Namespace
Drupal\locale\StreamWrapperCode
public function getExternalUrl() {
throw new \LogicException('PO files URL should not be public.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.