ViewUI

Stores UI related temporary settings. Hierarchy class \Drupal\views_ui\ViewUI implements ViewEntityInterface File core/modules/views_ui/src/ViewUI.php, line 25 Namespace Drupal\views_ui Members Name Modifiers Type Description ViewUI::$additionalQueries protected property Stores a list of database queries run beside the main one from views. ViewUI::$changed public property If this view has been changed. ViewUI::$changed_display public property Stores an ar

FormValidator::doValidateForm

protected FormValidator::doValidateForm(&$elements, FormStateInterface &$form_state, $form_id = NULL) Performs validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators. Parameters $elements: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. The current

hook_tokens

hook_tokens($type, $tokens, array $data, array $options, \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata) Provide replacement values for placeholder tokens. This hook is invoked when someone calls \Drupal\Core\Utility\Token::replace(). That function first scans the text for [type:token] patterns, and splits the needed tokens into groups by type. Then hook_tokens() is invoked on each token-type group, allowing your module to respond by providing replacement text for any of the tokens

Connection

Base Database API class. This class provides a Drupal-specific extension of the PDO database abstraction class in PHP. Every database driver implementation must provide a concrete implementation of it to support special handling required by that database. Hierarchy class \Drupal\Core\Database\Connection See also http://php.net/manual/book.pdo.php File core/lib/Drupal/Core/Database/Connection.php, line 15 Namespace Drupal\Core\Database Members Name Modifiers Type Description C

ConditionInterface

An interface for condition plugins. Condition plugins are context-aware and configurable. They support the following keys in their plugin definitions: context: An array of context definitions, keyed by context name. Each context definition is a typed data definition describing the context. Check the typed data definition docs for details. configuration: An array of configuration option definitions, keyed by option name. Each option definition is a typed data definition describing the configur

UserLoginForm

Provides a user login form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserLoginForm File core/modules/user/src/Form/UserLoginForm.php, line 16 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds prot

Views hooks

Hooks that allow other modules to implement the Views API. Parent topics Views overview Overview of the Views module API File core/modules/views/views.api.php, line 72 Describes hooks and plugins provided by the Views module.

ImageToolkitForm

Configures image toolkit settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\system\Form\ImageToolkitForm File core/modules/system/src/Form/ImageToolkitForm.php, line 14 Namespace Drupal\system\Form M

PoHeader::parseArithmetic

private PoHeader::parseArithmetic($string) Parses and sanitizes an arithmetic formula into a plural element stack. While parsing, we ensure, that the operators have the right precedence and associativity. Parameters string $string: A string containing the arithmetic formula. Return value A stack of values and operations to be evaluated. File core/lib/Drupal/Component/Gettext/PoHeader.php, line 276 Class PoHeader Gettext PO header handler. Namespace Drupal\Component\Gettext Code priva

install_drupal

install_drupal($class_loader, $settings = array()) Installs Drupal either interactively or via an array of passed-in settings. The Drupal installation happens in a series of steps, which may be spread out over multiple page requests. Each request begins by trying to determine the last completed installation step (also known as a "task"), if one is available from a previous request. Control is then passed to the task handler, which processes the remaining tasks that need to be run until (a) an e