ReadOnlyStream::$uri

Instance URI (stream). A stream is referenced as "scheme://target". Type: string File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 37 Class ReadOnlyStream Defines a read-only Drupal stream wrapper base class. Namespace Drupal\Core\StreamWrapper Code protected $uri;

ReadOnlyStream::$handle

A generic resource handle. Type: resource File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 28 Class ReadOnlyStream Defines a read-only Drupal stream wrapper base class. Namespace Drupal\Core\StreamWrapper Code public $handle = NULL;

ReadOnlyStream::$context

Stream context resource. Type: resource File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 21 Class ReadOnlyStream Defines a read-only Drupal stream wrapper base class. Namespace Drupal\Core\StreamWrapper Code public $context;

ReadOnlyStream

Defines a read-only Drupal stream wrapper base class. This class provides a minimal-read only stream wrapper implementation. Specifically, it only implements the writing classes and read classes where we need to restrict 'write-capable' arguments. Drupal\Core\StreamWrapper\ReadOnlyStream implementations need to implement all the read-related classes. Hierarchy class \Drupal\Core\StreamWrapper\ReadOnlyStream implements StreamWrapperInterface File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStr

ReadOnlyException

Exception thrown when trying to write or set ready-only data. Hierarchy class \Drupal\Core\TypedData\Exception\ReadOnlyException extends \Exception File core/lib/Drupal/Core/TypedData/Exception/ReadOnlyException.php, line 8 Namespace Drupal\Core\TypedData\Exception Members

rdf_theme

rdf_theme() Implements hook_theme(). File core/modules/rdf/rdf.module, line 251 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_theme() { return array( 'rdf_wrapper' => array( 'variables' => array('attributes' => array(), 'content' => NULL), ), 'rdf_metadata' => array( 'variables' => array('metadata' => array()), ), ); }

rdf_rdfa_attributes

rdf_rdfa_attributes($mapping, $data = NULL) Builds an array of RDFa attributes for a given mapping. This array will typically be passed through Drupal\Core\Template\Attribute to create the attributes variables that are available to template files. These include $attributes, $title_attributes, $content_attributes and the field-specific $item_attributes variables. Parameters array $mapping: An array containing a mandatory 'properties' key and optional 'datatype', 'datatype_callback' and 'type' k

rdf_preprocess_username

rdf_preprocess_username(&$variables) Implements hook_preprocess_HOOK() for username.html.twig. File core/modules/rdf/rdf.module, line 397 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_preprocess_username(&$variables) { // Because lang is set on the HTML element that wraps the page, the // username inherits this language attribute. However, since the username // might not be transliterated to the same language that the content is in,

rdf_preprocess_user

rdf_preprocess_user(&$variables) Implements hook_preprocess_HOOK() for user templates. File core/modules/rdf/rdf.module, line 360 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_preprocess_user(&$variables) { /** @var $account \Drupal\user\UserInterface */ $account = $variables['elements']['#user']; $uri = $account->urlInfo(); $mapping = rdf_get_mapping('user', 'user'); $bundle_mapping = $mapping->getPreparedBundleMapping();

rdf_preprocess_taxonomy_term

rdf_preprocess_taxonomy_term(&$variables) Implements hook_preprocess_HOOK() for taxonomy term templates. File core/modules/rdf/rdf.module, line 544 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_preprocess_taxonomy_term(&$variables) { // Adds RDFa markup to the taxonomy term container. // The @about attribute specifies the URI of the resource described within // the HTML element, while the @typeof attribute indicates its RDF type /