LocalReadOnlyStream::getType

public static LocalReadOnlyStream::getType()

Returns the type of stream wrapper.

Return value

int

Overrides LocalStream::getType

File

core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php, line 21

Class

LocalReadOnlyStream
Defines a read-only Drupal stream wrapper base class for local files.

Namespace

Drupal\Core\StreamWrapper

Code

public static function getType() {
  return StreamWrapperInterface::READ_VISIBLE | StreamWrapperInterface::LOCAL;
}
doc_Drupal
2016-10-29 09:24:31
Comments
Leave a Comment

Please login to continue.