LocalStream::stream_open

public LocalStream::stream_open($uri, $mode, $options, &$opened_path) Support for fopen(), file_get_contents(), file_put_contents() etc. Parameters string $uri: A string containing the URI to the file to open. int $mode: The file mode ("r", "wb" etc.). int $options: A bit mask of STREAM_USE_PATH and STREAM_REPORT_ERRORS. string $opened_path: A string containing the path actually opened. Return value bool Returns TRUE if file was opened successfully. Overrides PhpStreamWrapperInterface::st

Role::$is_admin

An indicator whether the role has all permissions. Type: bool File core/modules/user/src/Entity/Role.php, line 82 Class Role Defines the user role entity class. Namespace Drupal\user\Entity Code protected $is_admin;

LocalStream::stream_read

public LocalStream::stream_read($count) Support for fread(), file_get_contents() etc. Parameters int $count: Maximum number of bytes to be read. Return value string|bool The string that was read, or FALSE in case of an error. Overrides PhpStreamWrapperInterface::stream_read See also http://php.net/manual/streamwrapper.stream-read.php File core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 210 Class LocalStream Defines a Drupal stream wrapper base class for local files. Namespace

QueueInterface::createItem

public QueueInterface::createItem($data) Adds a queue item and store it directly to the queue. Parameters $data: Arbitrary data to be associated with the new task in the queue. Return value A unique ID if the item was successfully created and was (best effort) added to the queue, otherwise FALSE. We don't guarantee the item was committed to disk etc, but as far as we know, the item is now in the queue. File core/lib/Drupal/Core/Queue/QueueInterface.php, line 27 Class QueueInterface Inter

CurrentPathStack::getPath

public CurrentPathStack::getPath($request = NULL) Returns the path of the current request. Parameters \Symfony\Component\HttpFoundation\Request $request: (optional) The request. Return value string Returns the path, without leading slashes. File core/lib/Drupal/Core/Path/CurrentPathStack.php, line 49 Class CurrentPathStack Represents the current path for the current request. Namespace Drupal\Core\Path Code public function getPath($request = NULL) { if (!isset($request)) { $requ

StreamWrapperManagerInterface::getClass

public StreamWrapperManagerInterface::getClass($scheme) Returns the stream wrapper class name for a given scheme. Parameters string $scheme: Stream scheme. Return value string|bool Return string if a scheme has a registered handler, or FALSE. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php, line 158 Class StreamWrapperManagerInterface Provides a StreamWrapper manager. Namespace Drupal\Core\StreamWrapper Code public function getClass($scheme);

CurrentPathStack::setPath

public CurrentPathStack::setPath($path, $request = NULL) Sets the current path. Parameters string $path: The path. \Symfony\Component\HttpFoundation\Request $request: (optional) The request. Return value $this File core/lib/Drupal/Core/Path/CurrentPathStack.php, line 70 Class CurrentPathStack Represents the current path for the current request. Namespace Drupal\Core\Path Code public function setPath($path, $request = NULL) { if (!isset($request)) { $request = $this->requestS

FTP

Defines the base class for FTP implementations. Hierarchy class \Drupal\Core\FileTransfer\FileTransferclass \Drupal\Core\FileTransfer\FTP File core/lib/Drupal/Core/FileTransfer/FTP.php, line 8 Namespace Drupal\Core\FileTransfer Members Name Modifiers Type Description FileTransfer::$hostname protected property The hostname for this file transfer. FileTransfer::$password protected property The password for this file transfer. FileTransfer::$port protected pr

DataDefinitionInterface::getDataType

public DataDefinitionInterface::getDataType() Returns the data type of the data. Return value string The data type. File core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 55 Class DataDefinitionInterface Interface for data definitions. Namespace Drupal\Core\TypedData Code public function getDataType();

ConfigTranslationFormBase::createFormElement

public static ConfigTranslationFormBase::createFormElement(TypedDataInterface $schema) Creates a form element builder. Parameters \Drupal\Core\TypedData\TypedDataInterface $schema: Schema definition of configuration. Return value \Drupal\config_translation\FormElement\ElementInterface|null The element builder object if possible. File core/modules/config_translation/src/Form/ConfigTranslationFormBase.php, line 235 Class ConfigTranslationFormBase Provides a base form for configuration tran