DrupalKernel::loadLegacyIncludes

public DrupalKernel::loadLegacyIncludes() Helper method that loads legacy Drupal include files. Overrides DrupalKernelInterface::loadLegacyIncludes File core/lib/Drupal/Core/DrupalKernel.php, line 520 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function loadLegacyIncludes() { require_once $this->root . '/core/includes/common.inc'; require_once $this->root . '/core/includes/database.inc'; require_once $this->ro

ViewEntityInterface::mergeDefaultDisplaysOptions

public ViewEntityInterface::mergeDefaultDisplaysOptions() Add defaults to the display options. File core/modules/views/src/ViewEntityInterface.php, line 34 Class ViewEntityInterface Defines an interface for View storage classes. Namespace Drupal\views Code public function mergeDefaultDisplaysOptions();

ViewExecutable::setAjaxEnabled

public ViewExecutable::setAjaxEnabled($ajax_enabled) Sets whether or not AJAX should be used. If AJAX is used, paging, table sorting, and exposed filters will be fetched via an AJAX call rather than a page refresh. Parameters bool $ajax_enabled: TRUE if AJAX should be used, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 639 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function setAjaxEnabled($ajax_enabled) { $this->a

PhpStreamWrapperInterface::stream_open

public PhpStreamWrapperInterface::stream_open($path, $mode, $options, &$opened_path) Return value bool File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 121 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function stream_open($path, $mode, $options, &$opened_path);

DrupalKernel::$configStorage

Config storage object used for reading enabled modules configuration. Type: \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/DrupalKernel.php, line 155 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $configStorage;

UserSession::$preferred_admin_langcode

The preferred administrative language code of the account. Type: string File core/lib/Drupal/Core/Session/UserSession.php, line 54 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code protected $preferred_admin_langcode;

EntityFieldManager::buildBaseFieldDefinitions

protected EntityFieldManager::buildBaseFieldDefinitions($entity_type_id) Builds base field definitions for an entity type. Parameters string $entity_type_id: The entity type ID. Only entity types that implement \Drupal\Core\Entity\FieldableEntityInterface are supported. Return value \Drupal\Core\Field\FieldDefinitionInterface[] An array of field definitions, keyed by field name. Throws \LogicException Thrown if a config entity type is given or if one of the entity keys is flagged as translat

SessionHandler::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Session/SessionHandler.php, line 31 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code protected $connection;

update_themes_installed

update_themes_installed($themes) Implements hook_themes_installed(). If themes are installed, we invalidate the information of available updates. File core/modules/update/update.module, line 246 Handles updates of Drupal core and contributed projects. Code function update_themes_installed($themes) { // Clear all update module data. update_storage_clear(); }

system_retrieve_file

system_retrieve_file($url, $destination = NULL, $managed = FALSE, $replace = FILE_EXISTS_RENAME) Attempts to get a file using Guzzle HTTP client and to store it locally. Parameters string $url: The URL of the file to grab. string $destination: Stream wrapper URI specifying where the file should be placed. If a directory path is provided, the file is saved into that directory under its original name. If the path contains a filename as well, that one will be used instead. If this value is omitte