Insert

General class for an abstracted INSERT query. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Insert implements \Countable uses 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/Insert.php, line 12 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description Insert::$fromQuery

REQUIREMENT_WARNING

Requirement severity -- Warning condition; proceed but flag warning. File core/includes/install.inc, line 29 API functions for installing modules and themes. Code const REQUIREMENT_WARNING = 1;

BaseCommand::$command

The name of the command. Type: string File core/lib/Drupal/Core/Ajax/BaseCommand.php, line 15 Class BaseCommand Base command that only exists to simplify AJAX commands. Namespace Drupal\Core\Ajax Code protected $command;

PrivateKey::__construct

PrivateKey::__construct(StateInterface $state) Constructs the token generator. Parameters \Drupal\Core\State\StateInterface $state: The state service. File core/lib/Drupal/Core/PrivateKey.php, line 26 Class PrivateKey Manages the Drupal private key. Namespace Drupal\Core Code function __construct(StateInterface $state) { $this->state = $state; }

ReadOnlyStream

Defines a read-only Drupal stream wrapper base class. This class provides a minimal-read only stream wrapper implementation. Specifically, it only implements the writing classes and read classes where we need to restrict 'write-capable' arguments. Drupal\Core\StreamWrapper\ReadOnlyStream implementations need to implement all the read-related classes. Hierarchy class \Drupal\Core\StreamWrapper\ReadOnlyStream implements StreamWrapperInterface File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStr

TranslationStatusForm::prepareUpdateData

protected TranslationStatusForm::prepareUpdateData(array $status) Prepare information about projects with available translation updates. Parameters array $status: Translation update status as an array keyed by Project ID and langcode. Return value array Translation update status as an array keyed by language code and translation update status. File core/modules/locale/src/Form/TranslationStatusForm.php, line 185 Class TranslationStatusForm Provides a translation status form. Namespace

ShortcutSetStorageInterface::countAssignedUsers

public ShortcutSetStorageInterface::countAssignedUsers(ShortcutSetInterface $shortcut_set) Get the number of users who have this set assigned to them. Parameters \Drupal\shortcut\ShortcutSetInterface $shortcut_set: The shortcut to count the users assigned to. Return value int The number of users who have this set assigned to them. File core/modules/shortcut/src/ShortcutSetStorageInterface.php, line 66 Class ShortcutSetStorageInterface Defines an interface for shortcut_set entity storage

ResponsiveImageStyleListBuilder::buildHeader

public ResponsiveImageStyleListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php, line 16 Class ResponsiveImageStyleListBuilder Provides a listing of responsive image styles. Namespace Drupal\responsive_image Code public function bui

file_save_data

file_save_data($data, $destination = NULL, $replace = FILE_EXISTS_RENAME) Saves a file to the specified destination and creates a database entry. Parameters string $data: A string containing the contents of the file. string|null $destination: (optional) A string containing the destination URI. This must be a stream wrapper URI. If no value or NULL is provided, a randomized name will be generated and the file will be saved using Drupal's default files scheme, usually "public://". int $replace:

HtmlRenderer::$eventDispatcher

The event dispatcher. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php, line 52 Class HtmlRenderer Default main content renderer for HTML requests. Namespace Drupal\Core\Render\MainContent Code protected $eventDispatcher;