update_refresh

update_refresh() Refreshes the release data after loading the necessary include file. File core/modules/update/update.module, line 386 Handles updates of Drupal core and contributed projects. Code function update_refresh() { \Drupal::service('update.manager')->refreshUpdateData(); }

KeyValueFactoryInterface::get

public KeyValueFactoryInterface::get($collection) Constructs a new key/value store for a given collection name. Parameters string $collection: The name of the collection holding key and value pairs. Return value \Drupal\Core\KeyValueStore\KeyValueStoreInterface A key/value store implementation for the given $collection. File core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php, line 19 Class KeyValueFactoryInterface Defines the key/value store factory interface. Namespace D

EntityTypeInterface::setLinkTemplate

public EntityTypeInterface::setLinkTemplate($key, $path) Sets a single link template. Parameters string $key: The name of a link. string $path: The route path to use for the link. Return value $this Throws \InvalidArgumentException Thrown when the path does not start with a leading slash. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 465 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public func

ShortcutSetStorageInterface::deleteAssignedShortcutSets

public ShortcutSetStorageInterface::deleteAssignedShortcutSets(ShortcutSetInterface $entity) Delete shortcut sets assigned to users. Parameters \Drupal\shortcut\ShortcutSetInterface $entity: Delete the user assigned sets belonging to this shortcut. File core/modules/shortcut/src/ShortcutSetStorageInterface.php, line 44 Class ShortcutSetStorageInterface Defines an interface for shortcut_set entity storage classes. Namespace Drupal\shortcut Code public function deleteAssignedShortcutSet

Merge::__construct

public Merge::__construct(Connection $connection, $table, array $options = array()) Constructs a Merge object. Parameters \Drupal\Core\Database\Connection $connection: A Connection object. string $table: Name of the table to associate with this query. array $options: Array of database options. Overrides Query::__construct File core/lib/Drupal/Core/Database/Query/Merge.php, line 134 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query

history_help

history_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/history/history.module, line 27 Records which users have read which content. Code function history_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.history': $output = '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The History module keeps track of which content a user has read. It marks content as <em>

SearchQuery::$searchExpression

The keywords and advanced search options that are entered by the user. Type: string File core/modules/search/src/SearchQuery.php, line 82 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $searchExpression;

history_read_multiple

history_read_multiple($nids) Retrieves the last viewed timestamp for each of the passed node IDs. Parameters array $nids: An array of node IDs. Return value array Array of timestamps keyed by node ID. If a node has been previously viewed by the user, the timestamp in seconds of when the last view occurred; otherwise, zero. File core/modules/history/history.module, line 62 Records which users have read which content. Code function history_read_multiple($nids) { $history = &drupal_stati

ContainerBuilder::callMethod

protected ContainerBuilder::callMethod($service, $call) A 1to1 copy of parent::callMethod. Overrides ContainerBuilder::callMethod File core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 112 Class ContainerBuilder Drupal's dependency injection container builder. Namespace Drupal\Core\DependencyInjection Code protected function callMethod($service, $call) { $services = self::getServiceConditionals($call[1]); foreach ($services as $s) { if (!$this->has($s)) {

EntityTypeBundleInfoInterface::getAllBundleInfo

public EntityTypeBundleInfoInterface::getAllBundleInfo() Get the bundle info of all entity types. Return value array An array of bundle information where the outer array is keyed by entity type. The next level is keyed by the bundle name. The inner arrays are associative arrays of bundle information, such as the label for the bundle. File core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php, line 19 Class EntityTypeBundleInfoInterface Provides an interface for an entity type bund