Queue operations

Queue items to allow later processing. The queue system allows placing items in a queue and processing them later. The system tries to ensure that only one consumer can process an item. Before a queue can be used it needs to be created by Drupal\Core\Queue\QueueInterface::createQueue(). Items can be added to the queue by passing an arbitrary data object to Drupal\Core\Queue\QueueInterface::createItem(). To process an item, call Drupal\Core\Queue\QueueInterface::claimItem() and specify how long

ModulesListConfirmForm

Builds a confirmation form for enabling modules with dependencies. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\system\Form\ModulesListConfirmForm File core/modules/system/src/Form/ModulesListConfirmForm.php, line 1

DrupalKernel::findSitePath

public static DrupalKernel::findSitePath(Request $request, $require_settings = TRUE, $app_root = NULL) Returns the appropriate site directory for a request. Once the kernel has been created DrupalKernelInterface::getSitePath() is preferred since it gets the statically cached result of this method. Site directories contain all site specific code. This includes settings.php for bootstrap level configuration, file configuration stores, public file storage and site specific modules and themes. Find

update.module

Handles updates of Drupal core and contributed projects. The module checks for available updates of Drupal core and any installed contributed modules and themes. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the module and theme pages, and optionally via email. It also provides the ability to install contributed modules and themes via an user interface. File core/modules/update/update.module Functions Name Description t

book_node_predelete

book_node_predelete(EntityInterface $node) Implements hook_ENTITY_TYPE_predelete() for node entities. File core/modules/book/book.module, line 280 Allows users to create and organize related content in an outline. Code function book_node_predelete(EntityInterface $node) { if (!empty($node->book['bid'])) { /** @var \Drupal\book\BookManagerInterface $book_manager */ $book_manager = \Drupal::service('book.manager'); $book_manager->deleteFromBook($node->book['nid']); } }

MenuLinkContentDeleteForm

Provides a delete form for content menu links. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityConfirmFormBase implements

LinkItemInterface

Defines an interface for the link field item. Hierarchy interface \Drupal\Core\TypedData\TypedDataInterfaceinterface \Drupal\Core\TypedData\TraversableTypedDataInterface extends \Traversableinterface \Drupal\Core\TypedData\ComplexDataInterfaceinterface \Drupal\Core\Field\FieldItemInterfaceinterface \Drupal\link\LinkItemInterface File core/modules/link/src/LinkItemInterface.php, line 10 Namespace Drupal\link Members Name Modifiers Type Description ComplexDataInterface::get

ProjectInfo::processInfoList

ProjectInfo::processInfoList(array &$projects, array $list, $project_type, $status, array $additional_whitelist = array()) Populates an array of project data. This iterates over a list of the installed modules or themes and groups them by project and status. A few parts of this function assume that enabled modules and themes are always processed first, and if uninstalled modules or themes are being processed (there is a setting to control if uninstalled code should be included in the Availa

AjaxResponseSubscriber::__construct

public AjaxResponseSubscriber::__construct(AttachmentsResponseProcessorInterface $ajax_response_attachments_processor) Constructs an AjaxResponseSubscriber object. Parameters \Drupal\Core\Render\AttachmentsResponseProcessorInterface $ajax_response_attachments_processor: The AJAX response attachments processor service. File core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php, line 31 Class AjaxResponseSubscriber Response subscriber to handle AJAX responses. Namespace Drupal\

AttributeValueBase::value

public AttributeValueBase::value() Returns the raw value. File core/lib/Drupal/Core/Template/AttributeValueBase.php, line 61 Class AttributeValueBase Defines the base class for an attribute type. Namespace Drupal\Core\Template Code public function value() { return $this->value; }