install.inc

API functions for installing modules and themes. File core/includes/install.inc Functions Name Description db_installer_object Returns a database installer object. drupal_check_module Checks a module's requirements. drupal_check_profile Checks an installation profile's requirements. drupal_current_script_url Returns the URL of the current script, with modified query parameters. drupal_detect_database_types Detects all supported databases that are compiled into PHP. d

BubbleableMetadata

Value object used for bubbleable rendering metadata. Hierarchy class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTraitclass \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTrait See also \Drupal\Core\Render\RendererInterface::render() File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 13 Namespace Drupal\Core\Render Members Name Modifiers Type Descriptio

ContentEntityType

Defines a content entity type annotation object. Content Entity type plugins use an object-based annotation method, rather than an array-type annotation method (as commonly used on other annotation types). The annotation properties of content entity types are found on \Drupal\Core\Entity\ContentEntityType and are accessed using get/set methods defined in \Drupal\Core\Entity\ContentEntityTypeInterface. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupa

VariantManager

Manages discovery of display variant plugins. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Display\VariantManager See also \Drupal\Core\Display\Annotation\DisplayVariant \Drupal\Core\Display\VariantInterface \Drupal\Core\Di

tracker_cron

tracker_cron() Implements hook_cron(). Updates tracking information for any items still to be tracked. The state 'tracker.index_nid' is set to ((the last node ID that was indexed) - 1) and used to select the nodes to be processed. If there are no remaining nodes to process, 'tracker.index_nid' will be 0. This process does not run regularly on live sites, rather it updates tracking info once on an existing site just after the tracker module was installed. File core/modules/tracker/tracker.module

CommentTypeForm

Base form handler for comment type edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\comment\CommentTypeForm File core/modules/comment/src/CommentTypeForm.php, line 16 Namespace Drupal\comment Members Name

NodeGrantDatabaseStorage::access

public NodeGrantDatabaseStorage::access(NodeInterface $node, $operation, AccountInterface $account) Determines access to nodes based on node grants. Parameters \Drupal\node\NodeInterface $node: The entity for which to check 'create' access. string $operation: The entity operation. Usually one of 'view', 'edit', 'create' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for which to check access. Return value \Drupal\Core\Access\AccessResultInterface The access result, eith

BlockBase::getMachineNameSuggestion

public BlockBase::getMachineNameSuggestion() Suggests a machine name to identify an instance of this block. The block plugin need not verify that the machine name is at all unique. It is only responsible for providing a baseline suggestion; calling code is responsible for ensuring whatever uniqueness is required for the use case. Return value string The suggested machine name. Overrides BlockPluginInterface::getMachineNameSuggestion File core/lib/Drupal/Core/Block/BlockBase.php, line 240 Cl

LinkGenerator::generate

public LinkGenerator::generate($text, Url $url) For anonymous users, the "active" class will be calculated on the server, because most sites serve each anonymous user the same cached page anyway. For authenticated users, the "active" class will be calculated on the client (through JavaScript), only data- attributes are added to links to prevent breaking the render cache. The JavaScript is added in system_page_attachments(). Overrides LinkGeneratorInterface::generate See also system_page_attac

BatchNegotiator

Sets the active theme for the batch page. Hierarchy class \Drupal\system\Theme\BatchNegotiator implements ThemeNegotiatorInterface File core/modules/system/src/Theme/BatchNegotiator.php, line 13 Namespace Drupal\system\Theme Members Name Modifiers Type Description BatchNegotiator::$batchStorage protected property The batch storage. BatchNegotiator::$requestStack protected property The request stack. BatchNegotiator::applies public function Whether this th