UpdateFetcher::fetchProjectData

public UpdateFetcher::fetchProjectData(array $project, $site_key = '') Retrieves the project information. 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 empty string. Return value string The project information fetched as string. Empty string upon failure. Overrides UpdateFetcherInterface::fetchProjectData File core/modules/update/src/UpdateFetcher.php, line

Entity::$entityTypeId

The entity type. Type: string File core/lib/Drupal/Core/Entity/Entity.php, line 33 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code protected $entityTypeId;

ThemeHandlerInterface::refreshInfo

public ThemeHandlerInterface::refreshInfo() Refreshes the theme info data of currently installed themes. Modules can alter theme info, so this is typically called after a module has been installed or uninstalled. File core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 110 Class ThemeHandlerInterface Manages the list of available themes. Namespace Drupal\Core\Extension Code public function refreshInfo();

Tasks::fail

protected Tasks::fail($message) Assert test as failed. File core/lib/Drupal/Core/Database/Install/Tasks.php, line 92 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code protected function fail($message) { $this->results['fail'][] = $message; }

ContentLanguageSettingsException

Exception thrown by ContentLanguageSettings when target bundle is not set. Hierarchy class \Drupal\language\ContentLanguageSettingsException extends \RuntimeException File core/modules/language/src/ContentLanguageSettingsException.php, line 8 Namespace Drupal\language Members

EnforcedResponse::$response

The wrapped response object. Type: \Symfony\Component\HttpFoundation\Response; File core/lib/Drupal/Core/Form/EnforcedResponse.php, line 28 Class EnforcedResponse A wrapper containing a response which is to be enforced upon delivery. Namespace Drupal\Core\Form Code protected $response;

hook_file_copy

hook_file_copy(Drupal\file\FileInterface $file, Drupal\file\FileInterface $source) Respond to a file that has been copied. Parameters \Drupal\file\FileInterface $file: The newly copied file entity. \Drupal\file\FileInterface $source: The original file before the copy. See also file_copy() Related topics Hooks Define functions that alter the behavior of Drupal core. File core/modules/file/file.api.php, line 50 Hooks for file module. Code function hook_file_copy(Drupal\file\FileInterface $f

ConfigBase::getCacheContexts

public ConfigBase::getCacheContexts() The cache contexts associated with this object. These identify a specific variation/representation of the object. Cache contexts are tokens: placeholders that are converted to cache keys by the @cache_contexts_manager service. The replacement value depends on the request context (the current URL, language, and so on). They're converted before storing an object in cache. Return value string[] An array of cache context tokens, used to generate a cache ID. Ov

ForumManager::getTopicOrder

protected ForumManager::getTopicOrder($sortby) Gets topic sorting information based on an integer code. Parameters int $sortby: One of the following integers indicating the sort criteria: ForumManager::NEWEST_FIRST: Date - newest first. ForumManager::OLDEST_FIRST: Date - oldest first. ForumManager::MOST_POPULAR_FIRST: Posts with the most comments first. ForumManager::LEAST_POPULAR_FIRST: Posts with the least comments first. Return value array An array with the following values: field:

UseCacheBackendTrait::cacheGet

protected UseCacheBackendTrait::cacheGet($cid) Fetches from the cache backend, respecting the use caches flag. Parameters string $cid: The cache ID of the data to retrieve. Return value object|false The cache item or FALSE on failure. See also \Drupal\Core\Cache\CacheBackendInterface::get() File core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php, line 35 Class UseCacheBackendTrait Provides methods to use a cache backend while respecting a 'use caches' flag. Namespace Drupal\Core\Cac