update_clear_update_disk_cache

update_clear_update_disk_cache() Clears the temporary files and directories based on file age from disk. File core/modules/update/update.module, line 707 Handles updates of Drupal core and contributed projects. Code function update_clear_update_disk_cache() { // List of update module cache directories. Do not create the directories if // they do not exist. $directories = array( _update_manager_cache_directory(FALSE), _update_manager_extract_directory(FALSE), ); // Search fo

ToolbarController::checkSubTreeAccess

public ToolbarController::checkSubTreeAccess($hash) Checks access for the subtree controller. Parameters string $hash: The hash of the toolbar subtrees. Return value \Drupal\Core\Access\AccessResultInterface The access result. File core/modules/toolbar/src/Controller/ToolbarController.php, line 50 Class ToolbarController Defines a controller for the toolbar module. Namespace Drupal\toolbar\Controller Code public function checkSubTreeAccess($hash) { $expected_hash = _toolbar_get_sub

AttachedAssetsInterface::setSettings

public AttachedAssetsInterface::setSettings(array $settings) Sets the JavaScript settings that are attached to the current response. Parameters array $settings: The needed JavaScript settings. Return value $this File core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 55 Class AttachedAssetsInterface The attached assets collection for the current response. Namespace Drupal\Core\Asset Code public function setSettings(array $settings);

RouteBuilderInterface::rebuild

public RouteBuilderInterface::rebuild() Rebuilds the route information and dumps it. Return value bool Returns TRUE if the rebuild succeeds, FALSE otherwise. File core/lib/Drupal/Core/Routing/RouteBuilderInterface.php, line 30 Class RouteBuilderInterface Rebuilds the route information and dumps it. Namespace Drupal\Core\Routing Code public function rebuild();

ContentTranslationMetadataWrapperInterface::getAuthor

public ContentTranslationMetadataWrapperInterface::getAuthor() Returns the translation author. Return value \Drupal\user\UserInterface The user entity for the translation author. File core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php, line 57 Class ContentTranslationMetadataWrapperInterface Common interface for content translation metadata wrappers. Namespace Drupal\content_translation Code public function getAuthor();

SelectExtender::havingIsNull

public SelectExtender::havingIsNull($field) Sets a condition in the HAVING clause that the specified field be NULL. Parameters $field: The name of the field to check. Return value $this Overrides SelectInterface::havingIsNull File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 184 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function havingIsNull($field) { $this->query->havingIsNull($field);

ConfigBase::MAX_NAME_LENGTH

The maximum length of a configuration object name. Many filesystems (including HFS, NTFS, and ext4) have a maximum file name length of 255 characters. To ensure that no configuration objects incompatible with this limitation are created, we enforce a maximum name length of 250 characters (leaving 5 characters for the file extension). Configuration objects not stored on the filesystem should still be restricted in name length so name can be used as a cache key. See also http://wikipedia.org/wik

Select::havingIsNull

public Select::havingIsNull($field) Sets a condition in the HAVING clause that the specified field be NULL. Parameters $field: The name of the field to check. Return value $this Overrides SelectInterface::havingIsNull File core/lib/Drupal/Core/Database/Query/Select.php, line 330 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function havingIsNull($field) { $this->having->isNull($field); return $this; }

update_create_fetch_task

update_create_fetch_task($project) Adds a task to the queue for fetching release history data for a project. We only create a new fetch task if there's no task already in the queue for this particular project (based on 'update_fetch_task' key-value collection). Parameters $project: Associative array of information about a project as created by \Drupal\Update\UpdateManager::getProjects(), including keys such as 'name' (short name), and the 'info' array with data from a .info.yml file for the pr

LocalActionDefault::getRouteName

public LocalActionDefault::getRouteName() Get the route name from the settings. Return value string The name of the route this action links to. Overrides LocalActionInterface::getRouteName File core/lib/Drupal/Core/Menu/LocalActionDefault.php, line 62 Class LocalActionDefault Provides a default implementation for local action plugins. Namespace Drupal\Core\Menu Code public function getRouteName() { return $this->pluginDefinition['route_name']; }