StreamWrapperInterface::NORMAL

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::NORMAL
  2. 10 core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::NORMAL
  3. 11.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::NORMAL

The default 'type' flag.

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 92

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

const NORMAL = 0x1c;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.