UpdateFetcher::buildFetchUrl

public UpdateFetcher::buildFetchUrl(array $project, $site_key = '') Generates the URL to fetch information about project updates. This figures out the right URL to use, based on the project's .info.yml file and the global defaults. Appends optional query arguments when the site is configured to report usage stats. Parameters array $project: The array of project information from \Drupal\Update\UpdateManager::getProjects(). string $site_key: (optional) The anonymous site key hash. Defaults to an

UrlHelper::encodePath

public static UrlHelper::encodePath($path) Encodes a Drupal path for use in a URL. For aesthetic reasons slashes are not escaped. Parameters string $path: The Drupal path to encode. Return value string The encoded path. File core/lib/Drupal/Component/Utility/UrlHelper.php, line 193 Class UrlHelper Helper class URL based methods. Namespace Drupal\Component\Utility Code public static function encodePath($path) { return str_replace('%2F', '/', rawurlencode($path)); }

YamlDiscovery::decode

protected YamlDiscovery::decode($file) Decode a YAML file. Parameters string $file: Yaml file path. Return value array File core/lib/Drupal/Component/Discovery/YamlDiscovery.php, line 79 Class YamlDiscovery Provides discovery for YAML files within a given set of directories. Namespace Drupal\Component\Discovery Code protected function decode($file) { return Yaml::decode(file_get_contents($file)) ? : []; }

ConfigNamesMapper::getBaseRouteParameters

public ConfigNamesMapper::getBaseRouteParameters() Returns the route parameters for the base route the mapper is attached to. Return value array Overrides ConfigMapperInterface::getBaseRouteParameters File core/modules/config_translation/src/ConfigNamesMapper.php, line 182 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getBaseRouteParameters() { return array(); }

UserInterface::addRole

public UserInterface::addRole($rid) Add a role to a user. Parameters string $rid: The role ID to add. File core/modules/user/src/UserInterface.php, line 33 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function addRole($rid);

DataType::$primitive_type

The pre-defined primitive type that this data type maps to. If set, it must be a constant defined by \Drupal\Core\TypedData\Primitive such as \Drupal\Core\TypedData\Primitive::STRING. Type: string File core/lib/Drupal/Core/TypedData/Annotation/DataType.php, line 93 Class DataType Defines a data type annotation object. Namespace Drupal\Core\TypedData\Annotation Code public $primitive_type;

Select::leftJoin

public Select::leftJoin($table, $alias = NULL, $condition = NULL, $arguments = array()) Left Outer Join against another table in the database. Parameters $table: The table against which to join. May be a string or another SelectQuery object. If a query object is passed, it will be used as a subselect. Unless the table name starts with the database / schema name and a dot it will be prefixed. $alias: The alias for the table. In most cases this should be the first letter of the table, or the fir

ConditionAggregate

Defines the aggregate condition for sql based storage. Hierarchy class \Drupal\Core\Entity\Query\ConditionFundamentalsclass \Drupal\Core\Entity\Query\ConditionAggregateBase implements ConditionAggregateInterfaceclass \Drupal\Core\Entity\Query\Sql\ConditionAggregate File core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php, line 14 Namespace Drupal\Core\Entity\Query\Sql Members Name Modifiers Type Description ConditionAggregate::compile public function Compiles

Memory

Static queue implementation. This allows "undelayed" variants of processes relying on the Queue interface. The queue data resides in memory. It should only be used for items that will be queued and dequeued within a given page request. Hierarchy class \Drupal\Core\Queue\Memory implements QueueInterface Related topics Queue operations Queue items to allow later processing. File core/lib/Drupal/Core/Queue/Memory.php, line 14 Namespace Drupal\Core\Queue Members Name Modifiers Type

AdminContext::$routeMatch

The route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/Routing/AdminContext.php, line 17 Class AdminContext Provides a helper class to determine whether the route is an admin one. Namespace Drupal\Core\Routing Code protected $routeMatch;