W3cubDocs

/Drupal 8

constant StreamWrapperInterface::NORMAL

This is the default 'type' falg. This does not include StreamWrapperInterface::LOCAL, because PHP grants a greater trust level to local files (for example, they can be used in an "include" statement, regardless of the "allow_url_include" setting), so stream wrappers need to explicitly opt-in to this.

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 91

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

const NORMAL = 0x001C;

© 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!StreamWrapperInterface.php/constant/StreamWrapperInterface::NORMAL/8.1.x