TranslationsStream::getExternalUrl

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\StreamWrapper

Code

function getExternalUrl() {
  throw new \LogicException('PO files URL should not be public.');
}
doc_Drupal
2016-10-29 09:49:20
Comments
Leave a Comment

Please login to continue.