function TranslationsStream::getExternalUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 53 - Contains \Drupal\locale\StreamWrapper\TranslationsStream.
Class
- TranslationsStream
- Defines a Drupal translations (translations://) stream wrapper class.
Namespace
Drupal\locale\StreamWrapperCode
function getExternalUrl() {
throw new \LogicException('PO files URL should not be public.');
}