TranslationsStream::getType

public static 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

1
2
3
public static function getType() {
  return StreamWrapperInterface::LOCAL_HIDDEN;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.