function TranslationsStream::getExternalUrl

Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().

Throws

\LogicException PO files URL should not be public.

Overrides StreamWrapperInterface::getExternalUrl

File

drupal/core/modules/locale/lib/Drupal/locale/TranslationsStream.php, line 30
Definition of Drupal\locale\TranslationStream.

Class

TranslationsStream
Defines a Drupal translations (translations://) stream wrapper class.

Namespace

Drupal\locale

Code

function getExternalUrl() {
  throw new \LogicException('PO files URL should not be public.');
}