install_bootstrap_full

install_bootstrap_full() Performs a full bootstrap of Drupal during installation. File core/includes/install.core.inc, line 1455 API functions for installing Drupal. Code function install_bootstrap_full() { // Store the session on the request object and start it. /** @var \Symfony\Component\HttpFoundation\Session\SessionInterface $session */ $session = \Drupal::service('session'); \Drupal::request()->setSession($session); $session->start(); }

ViewEditForm::rebuildCurrentTab

public ViewEditForm::rebuildCurrentTab(ViewUI $view, AjaxResponse $response, $display_id) Regenerate the current tab for AJAX updates. Parameters \Drupal\views_ui\ViewUI $view: The view to regenerate its tab. \Drupal\Core\Ajax\AjaxResponse $response: The response object to add new commands to. string $display_id: The display ID of the tab to regenerate. File core/modules/views_ui/src/ViewEditForm.php, line 654 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal

RevisionLogEntityTrait

Provides a trait for accessing revision logging and ownership information. Hierarchy trait \Drupal\Core\Entity\RevisionLogEntityTrait Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 13 Namespace Drupal\Core\Entity Members Name Modifiers Type Description RevisionLogEntityTrait::getRevisionCreationTime public function Implements \Drupal\Core\Entity\Revis

ConfigTranslationFieldListBuilder::createInstance

public static ConfigTranslationFieldListBuilder::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\C

BookManager::getBookParents

public BookManager::getBookParents(array $item, array $parent = array()) Overrides BookManagerInterface::getBookParents File core/modules/book/src/BookManager.php, line 284 Class BookManager Defines a book manager. Namespace Drupal\book Code public function getBookParents(array $item, array $parent = array()) { $book = array(); if ($item['pid'] == 0) { $book['p1'] = $item['nid']; for ($i = 2; $i <= static::BOOK_MAX_DEPTH; $i++) { $parent_property = "p$i"; $bo

FileTransfer::connect

abstract public FileTransfer::connect() Connects to the server. File core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 108 Class FileTransfer Defines the base FileTransfer class. Namespace Drupal\Core\FileTransfer Code abstract public function connect();

EntityFieldManager::$fieldMapByFieldType

An array keyed by field type. Each value is an array whose key are entity types including arrays in the same form that $fieldMap. It helps access the mapping between types and fields by the field type. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 75 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $fieldMapByFieldType = [];

SessionManager::$writeSafeHandler

The write safe session handler. @todo: This reference should be removed once all database queries are removed from the session manager class. Type: \Drupal\Core\Session\WriteSafeSessionHandlerInterface File core/lib/Drupal/Core/Session/SessionManager.php, line 68 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $writeSafeHandler;

block_post_update_disable_blocks_with_missing_contexts

block_post_update_disable_blocks_with_missing_contexts() Disable all blocks with missing context IDs in block_update_8001(). File core/modules/block/block.post_update.php, line 16 Post update functions for Block. Code function block_post_update_disable_blocks_with_missing_contexts() { // Don't execute the function if block_update_8002() got executed already, // which used to do the same. Note: Its okay to check here, because // update_do_one() does not update the installed schema versio

ConfigTranslationBlockListBuilder::sortRows

public ConfigTranslationBlockListBuilder::sortRows($a, $b) Sorts an array by value. Parameters array $a: First item for comparison. array $b: Second item for comparison. Return value int The comparison result for uasort(). Overrides ConfigTranslationEntityListBuilder::sortRows File core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, line 95 Class ConfigTranslationBlockListBuilder Defines the config translation list builder for blocks. Namespace Drupal