Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TranslationsStream.php

function 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

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal