StreamWrapperInterface::VISIBLE

Exposed in the UI and potentially web accessible. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 55 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const VISIBLE = 0x0010;

StreamWrapperInterface::realpath

public StreamWrapperInterface::realpath() Returns canonical, absolute path of the resource. Implementation placeholder. PHP's realpath() does not support stream wrappers. We provide this as a default so that individual wrappers may implement their own solutions. Return value string Returns a string with absolute pathname on success (implemented by core wrappers), or FALSE on failure or if the registered wrapper does not provide an implementation. File core/lib/Drupal/Core/StreamWrapper/StreamW

StreamWrapperInterface::WRITE_VISIBLE

Visible, readable and writeable. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 77 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const WRITE_VISIBLE = 0x001C;

StreamWrapperInterface::setUri

public StreamWrapperInterface::setUri($uri) Sets the absolute stream resource URI. This allows you to set the URI. Generally is only called by the factory method. Parameters string $uri: A string containing the URI that should be used for this instance. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 130 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code public function setUri($uri);

StreamWrapperInterface::WRITE

Wrapper is writeable. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 50 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const WRITE = 0x0008;

StreamWrapperInterface::LOCAL_HIDDEN

Hidden, readable and writeable using local files. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 72 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const LOCAL_HIDDEN = 0x000D;

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

StreamWrapperInterface::READ_VISIBLE

Visible and read-only. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 82 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const READ_VISIBLE = 0x0014;

StreamWrapperInterface::LOCAL

Refers to a local file system location. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 40 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const LOCAL = 0x0001;

StreamWrapperInterface::READ

Wrapper is readable (almost always true). File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 45 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const READ = 0x0004;