PrivateTempStoreFactory::$currentUser

The current user. Type: \Drupal\Core\Session\AccountProxyInterface File core/modules/user/src/PrivateTempStoreFactory.php, line 34 Class PrivateTempStoreFactory Creates a PrivateTempStore object for a given collection. Namespace Drupal\user Code protected $currentUser;

UpdaterException

Defines a Exception class for the Drupal\Core\Updater\Updater class hierarchy. This is identical to the base Exception class, we just give it a more specific name so that call sites that want to tell the difference can specifically catch these exceptions and treat them differently. Hierarchy class \Drupal\Core\Updater\UpdaterException extends \Exception File core/lib/Drupal/Core/Updater/UpdaterException.php, line 13 Namespace Drupal\Core\Updater Members

CurrentRouteMatch::getRouteObject

public CurrentRouteMatch::getRouteObject() Returns the route object. Return value \Symfony\Component\Routing\Route|null The route object. NULL if no route is matched. Overrides RouteMatchInterface::getRouteObject File core/lib/Drupal/Core/Routing/CurrentRouteMatch.php, line 48 Class CurrentRouteMatch Default object for current_route_match service. Namespace Drupal\Core\Routing Code public function getRouteObject() { return $this->getCurrentRouteMatch()->getRouteObject(); }

StreamWrapperManager::getWrappers

public StreamWrapperManager::getWrappers($filter = StreamWrapperInterface::ALL) Provides Drupal stream wrapper registry. A stream wrapper is an abstraction of a file system that allows Drupal to use the same set of methods to access both local files and remote resources. Provide a facility for managing and querying user-defined stream wrappers in PHP. PHP's internal stream_get_wrappers() doesn't return the class registered to handle a stream, which we need to be able to find the handler for cla

MatcherDumper::__construct

public MatcherDumper::__construct(Connection $connection, StateInterface $state, $table = 'router') Construct the MatcherDumper. Parameters \Drupal\Core\Database\Connection $connection: The database connection which will be used to store the route information. \Drupal\Core\State\StateInterface $state: The state. string $table: (optional) The table to store the route info in. Defaults to 'router'. File core/lib/Drupal/Core/Routing/MatcherDumper.php, line 57 Class MatcherDumper Dumps Route

FileSystemInterface::dirname

public FileSystemInterface::dirname($uri) Gets the name of the directory from a given path. PHP's dirname() does not properly pass streams, so this function fills that gap. It is backwards compatible with normal paths and will use PHP's dirname() as a fallback. Compatibility: normal paths and stream wrappers. Parameters string $uri: A URI or path. Return value string A string containing the directory name. See also dirname() https://www.drupal.org/node/515192 Related topics PHP wrapper funct

HtmlEscapedText::__toString

public HtmlEscapedText::__toString() Returns markup. Return value string The markup. Overrides MarkupInterface::__toString File core/lib/Drupal/Component/Render/HtmlEscapedText.php, line 38 Class HtmlEscapedText Escapes HTML syntax characters to HTML entities for display in markup. Namespace Drupal\Component\Render Code public function __toString() { return Html::escape($this->string); }

EntityAccessControlHandler::checkAccess

protected EntityAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for

Attribute::offsetSet

public Attribute::offsetSet($name, $value) File core/lib/Drupal/Core/Template/Attribute.php, line 98 Class Attribute Collects, sanitizes, and renders HTML attributes. Namespace Drupal\Core\Template Code public function offsetSet($name, $value) { $this->storage[$name] = $this->createAttributeValue($name, $value); }

NodeForm::__construct

public NodeForm::__construct(EntityManagerInterface $entity_manager, PrivateTempStoreFactory $temp_store_factory) Constructs a ContentEntityForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\user\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object. Overrides ContentEntityForm::__construct File core/modules/node/src/NodeForm.php, line 36 Class NodeForm Form handler for the node edit forms. Namespa