You are here

public static function TranslationsStream::getType in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/StreamWrapper/TranslationsStream.php \Drupal\locale\StreamWrapper\TranslationsStream::getType()

Returns the type of stream wrapper.

Return value

int

Overrides LocalStream::getType

File

core/modules/locale/src/StreamWrapper/TranslationsStream.php, line 18

Class

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

Namespace

Drupal\locale\StreamWrapper

Code

public static function getType() {
  return StreamWrapperInterface::LOCAL_HIDDEN;
}