ViewExecutable::setResponse

public ViewExecutable::setResponse(Response $response) Sets the used response object of the view. Parameters \Symfony\Component\HttpFoundation\Response $response: The response object which should be set. File core/modules/views/src/ViewExecutable.php, line 1768 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function setResponse(Response $response) { $this->response = $response; }

Connection::queryTemporary

public Connection::queryTemporary($query, array $args = array(), array $options = array()) Runs a SELECT query and stores its results in a temporary table. Use this as a substitute for ->query() when the results need to stored in a temporary table. Temporary tables exist for the duration of the page request. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Note that if you need to know how man

system_check_directory

system_check_directory($form_element, FormStateInterface $form_state) Checks the existence of the directory specified in $form_element. This function is called from the system_settings form to check all core file directories (file_public_path, file_private_path, file_temporary_path). Parameters $form_element: The form element containing the name of the directory to check. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/modules/system/system.module, li

InsertTrait

Provides common functionality for INSERT and UPSERT queries. Hierarchy trait \Drupal\Core\Database\Query\InsertTrait Related topics Database abstraction layer Allow the use of different database servers using the same code base. File core/lib/Drupal/Core/Database/Query/InsertTrait.php, line 10 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description InsertTrait::$defaultFields protected property An array of fields that should be set to their databas

FormCache::__construct

public FormCache::__construct($root, KeyValueExpirableFactoryInterface $key_value_expirable_factory, ModuleHandlerInterface $module_handler, AccountInterface $current_user, CsrfTokenGenerator $csrf_token, LoggerInterface $logger, RequestStack $request_stack, RequestPolicyInterface $request_policy) Constructs a new FormCache. Parameters string $root: The app root. \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $key_value_expirable_factory: The key value expirable factory, used to

PagerSelectExtender::execute

public PagerSelectExtender::execute() Override the execute method. Before we run the query, we need to add pager-based range() instructions to it. Overrides SelectExtender::execute File core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php, line 61 Class PagerSelectExtender Query extender for pager queries. Namespace Drupal\Core\Database\Query Code public function execute() { // By calling preExecute() here, we force it to preprocess the extender // object rather than just th

SelectExtender::getOrderBy

public &SelectExtender::getOrderBy() Returns a reference to the order by array for this query. Because this method returns by reference, alter hooks may edit the order-by array directly to make their changes. If just adding additional ordering fields, however, the use of orderBy() is preferred. Note that this method must be called by reference as well: $fields =& $query->getOrderBy(); Return value A reference to the expression array structure. Overrides SelectInterface::getOrderBy

Connection::serialize

public Connection::serialize() File core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 179 Class Connection MySQL implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\mysql Code public function serialize() { // Cleanup the connection, much like __destruct() does it as well. if ($this->needsCleanup) { $this->nextIdDelete(); } $this->needsCleanup = FALSE; return parent::serialize(); }

ModuleHandler::$loaded

Boolean indicating whether modules have been loaded. Type: bool File core/lib/Drupal/Core/Extension/ModuleHandler.php, line 35 Class ModuleHandler Class that manages modules in a Drupal installation. Namespace Drupal\Core\Extension Code protected $loaded = FALSE;

basic_auth.module

Provides an HTTP Basic authentication provider. File core/modules/basic_auth/basic_auth.module Functions Name Description basic_auth_help Implements hook_help().