EntityStorageBase::getQuery

public EntityStorageBase::getQuery($conjunction = 'AND') Gets an entity query instance. Parameters string $conjunction: (optional) The logical operator for the query, either: AND: all of the conditions on the query need to match. OR: at least one of the conditions on the query need to match. Return value \Drupal\Core\Entity\Query\QueryInterface The query instance. Overrides EntityStorageInterface::getQuery See also \Drupal\Core\Entity\EntityStorageBase::getQueryServiceName() File core/li

DrupalKernel::handleException

protected DrupalKernel::handleException(\Exception $e, $request, $type) Converts an exception into a response. Parameters \Exception $e: An exception Request $request: A Request instance int $type: The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) Return value Response A Response instance Throws \Exception If the passed in exception cannot be turned into a response. File core/lib/Drupal/Core/DrupalKernel.php, line 686 Class DrupalKer

Url::toString

public Url::toString($collect_bubbleable_metadata = FALSE) Generates the string URL representation for this Url object. For an external URL, the string will contain the input plus any query string or fragment specified by the options array. If this Url object was constructed from a Drupal route or from an internal URI (URIs using the internal:, base:, or entity: schemes), the returned string will either be a relative URL like /node/1 or an absolute URL like http://example.com/node/1 depending o

user_schema

user_schema() Implements hook_schema(). File core/modules/user/user.install, line 11 Install, update and uninstall functions for the user module. Code function user_schema() { $schema['users_data'] = array( 'description' => 'Stores module data as key/value pairs per user.', 'fields' => array( 'uid' => array( 'description' => 'Primary key: {users}.uid for user.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE,

FileTransfer::isFile

abstract public FileTransfer::isFile($path) Checks if a particular path is a file (not a directory). Parameters string $path: The path to check. Return value bool TRUE if the specified path is a file, FALSE otherwise. File core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 340 Class FileTransfer Defines the base FileTransfer class. Namespace Drupal\Core\FileTransfer Code abstract public function isFile($path);

UpdateManagerInterface

Manages project update information. Hierarchy interface \Drupal\update\UpdateManagerInterface File core/modules/update/src/UpdateManagerInterface.php, line 8 Namespace Drupal\update Members Name Modifiers Type Description UpdateManagerInterface::fetchDataBatch public function Processes a step in batch for fetching available update data. UpdateManagerInterface::getProjects public function Fetches an array of installed and enabled projects. UpdateManagerInterface

CommentStorage::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/comment/src/CommentStorage.php, line 29 Class CommentStorage Defines the storage handler class for comments. Namespace Drupal\comment Code protected $currentUser;

AccessResult::allowed

public static AccessResult::allowed() Creates an AccessResultInterface object with isAllowed() === TRUE. Return value \Drupal\Core\Access\AccessResult isAllowed() will be TRUE. File core/lib/Drupal/Core/Access/AccessResult.php, line 47 Class AccessResult Value object for passing an access result with cacheability metadata. Namespace Drupal\Core\Access Code public static function allowed() { return new AccessResultAllowed(); }

TwigTransTokenParser::checkTransString

protected TwigTransTokenParser::checkTransString(\Twig_Node $body, $lineno) Ensure that any nodes that are parsed are only of allowed types. Parameters \Twig_Node $body: The expression to check. int $lineno: The source line. Throws \Twig_Error_Syntax File core/lib/Drupal/Core/Template/TwigTransTokenParser.php, line 86 Class TwigTransTokenParser A class that defines the Twig 'trans' token parser for Drupal. Namespace Drupal\Core\Template Code protected function checkTransString(\Twig_

UrlGenerator::$decodedChars

Overrides characters that will not be percent-encoded in the path segment. The first two elements are the first two parameters of str_replace(), so if you override this variable you can also use arrays for the encoded and decoded characters. See also \Symfony\Component\Routing\Generator\UrlGenerator File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 57 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code protected $decodedChars =