PublicStream::getType

public static PublicStream::getType() Returns the type of stream wrapper. Return value int Overrides LocalStream::getType File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 21 Class PublicStream Defines a Drupal public (public://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public static function getType() { return StreamWrapperInterface::LOCAL_NORMAL; }

PublicStream::getName

public PublicStream::getName() Returns the name of the stream wrapper for use in the UI. Return value string The stream wrapper name. Overrides StreamWrapperInterface::getName File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 28 Class PublicStream Defines a Drupal public (public://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public function getName() { return t('Public files'); }

PublicStream::getExternalUrl

public PublicStream::getExternalUrl() Returns a web accessible URL for the resource. This function should return a URL that can be embedded in a web page and accessed from a browser. For example, the external URL of "youtube://xIpLd0WQKCY" might be "http://www.youtube.com/watch?v=xIpLd0WQKCY". Return value string Returns a string containing a web accessible URL for the resource. Overrides StreamWrapperInterface::getExternalUrl File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 49

PublicStream::getDirectoryPath

public PublicStream::getDirectoryPath() Gets the path that the wrapper is responsible for. @todo Review this method name in D8 per https://www.drupal.org/node/701358. Return value string String specifying the path. Overrides LocalStream::getDirectoryPath File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 42 Class PublicStream Defines a Drupal public (public://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public function getDirectoryPath() { return stat

PublicStream::getDescription

public PublicStream::getDescription() Returns the description of the stream wrapper for use in the UI. Return value string The stream wrapper description. Overrides StreamWrapperInterface::getDescription File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 35 Class PublicStream Defines a Drupal public (public://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public function getDescription() { return t('Public local files served by the webserver.'); }

PublicStream::baseUrl

public static PublicStream::baseUrl() Finds and returns the base URL for public://. Defaults to the current site's base URL plus directory path. Note that this static method is used by \Drupal\system\Form\FileSystemForm so you should alter that form or substitute a different form if you change the class providing the stream_wrapper.public service. Return value string The external base URL for public:// File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 66 Class PublicStream De

PublicStream::basePath

public static PublicStream::basePath(\SplString $site_path = NULL) Returns the base path for public://. If we have a setting for the public:// scheme's path, we use that. Otherwise we build a reasonable default based on the site.path service if it's available, or a default behavior based on the request. Note that this static method is used by \Drupal\system\Form\FileSystemForm so you should alter that form or substitute a different form if you change the class providing the stream_wrapper.publi

PublicStream

Defines a Drupal public (public://) stream wrapper class. Provides support for storing publicly accessible files with the Drupal file interface. Hierarchy class \Drupal\Core\StreamWrapper\LocalStream implements StreamWrapperInterfaceclass \Drupal\Core\StreamWrapper\PublicStream File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 16 Namespace Drupal\Core\StreamWrapper Members Name Modifiers Type Description LocalStream::$context public property Stream context

ProxyServicesPass::process

public ProxyServicesPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/ProxyServicesPass.php, line 18 Class ProxyServicesPass Replaces all services with a lazy flag. Namespace Drupal\Core\DependencyInjection\Compiler Code public function process(ContainerBuilder $container) { foreach ($conta

ProxyServicesPass

Replaces all services with a lazy flag. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/ProxyServicesPass.php, line 13 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description ProxyServicesPass::process public function You can modify the container here before it is dumped to PHP code. Overrides CompilerPassInterface::proces