Select::$expressions

The expressions to SELECT as virtual fields. Type: array File core/lib/Drupal/Core/Database/Query/Select.php, line 30 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code protected $expressions = array();

select.html.twig

Default theme implementation for a select element. Available variables: attributes: HTML attributes for the <select> tag. options: The <option> element children. See also template_preprocess_select() File core/modules/system/templates/select.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

Select

SQLite implementation of \Drupal\Core\Database\Query\Select. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Select implements SelectInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\sqlite\Select File core/lib/Drupal/Core/Database/Driver/sqlite/Select.php, line 10 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Query::$comments protected property

Select

Provides a form element for a drop-down menu or scrolling selection box. Properties: #options: An associative array, where the keys are the values for each option, and the values are the option labels to be shown in the drop-down list. If a value is an array, it will be rendered similarly, but as an optgroup. The key of the sub-array will be used as the label for the optgroup. Nesting optgroups is not allowed. #empty_option: The label that will be displayed to denote no selection. #empty_val

Select

Query builder for SELECT statements. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Select implements SelectInterface uses QueryConditionTrait Related topics Database abstraction layer Allow the use of different database servers using the same code base. File core/lib/Drupal/Core/Database/Query/Select.php, line 14 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description Query::$comments

Select

PostgreSQL implementation of \Drupal\Core\Database\Query\Select. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Select implements SelectInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Select Related topics Database abstraction layer Allow the use of different database servers using the same code base. File core/lib/Drupal/Core/Database/Driver/pgsql/Select.php, line 15 Namespace Drupal\Core\

SecuredRedirectResponse::fromResponse

protected SecuredRedirectResponse::fromResponse(RedirectResponse $response) Copies over the values from the given response. Parameters \Symfony\Component\HttpFoundation\RedirectResponse $response: The redirect reponse object. File core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php, line 41 Class SecuredRedirectResponse Provides a common base class for safe redirects. Namespace Drupal\Component\HttpFoundation Code protected function fromResponse(RedirectResponse $resp

SecuredRedirectResponse::setTargetUrl

public SecuredRedirectResponse::setTargetUrl($url) Sets the redirect target of this response. Parameters string $url The URL to redirect to: Return value RedirectResponse The current response. Throws \InvalidArgumentException Overrides RedirectResponse::setTargetUrl File core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php, line 54 Class SecuredRedirectResponse Provides a common base class for safe redirects. Namespace Drupal\Component\HttpFoundation Code public func

SecuredRedirectResponse::isSafe

abstract protected SecuredRedirectResponse::isSafe($url) Returns whether the URL is considered as safe to redirect to. Parameters string $url: The URL checked for safety. Return value bool File core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php, line 69 Class SecuredRedirectResponse Provides a common base class for safe redirects. Namespace Drupal\Component\HttpFoundation Code abstract protected function isSafe($url);

search_update_totals

search_update_totals() Updates the {search_total} database table. This function is called on shutdown to ensure that {search_total} is always up to date (even if cron times out or otherwise fails). File core/modules/search/search.module, line 205 Enables site-wide keyword searching. Code function search_update_totals() { // Update word IDF (Inverse Document Frequency) counts for new/changed words. foreach (search_dirty() as $word => $dummy) { // Get total count $total = db_quer