W3cubDocs

/Drupal 8

public static function LocalStream::getType

public static LocalStream::getType()

Returns the type of stream wrapper.

Return value

int

Overrides StreamWrapperInterface::getType

File

core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 43

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\Core\StreamWrapper

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!LocalStream.php/function/LocalStream::getType/8.1.x