BlockViewBuilder::viewMultiple

public BlockViewBuilder::viewMultiple(array $entities = array(), $view_mode = 'full', $langcode = NULL) Builds the render array for the provided entities. Parameters array $entities: An array of entities implementing EntityInterface to view. string $view_mode: (optional) The view mode that should be used to render the entity. string $langcode: (optional) For which language the entity should be rendered, defaults to the current content language. Return value A render array for the entities, in

TwigEnvironment

A class that defines a Twig environment for Drupal. Instances of this class are used to store the configuration and extensions, and are used to load templates from the file system or other locations. Hierarchy class \Twig_Environmentclass \Drupal\Core\Template\TwigEnvironment See also core\vendor\twig\twig\lib\Twig\Environment.php File core/lib/Drupal/Core/Template/TwigEnvironment.php, line 16 Namespace Drupal\Core\Template Members Name Modifiers Type Description TwigEnviron

FormBuilder::buttonWasClicked

protected FormBuilder::buttonWasClicked($element, FormStateInterface &$form_state) Determines if a given button triggered the form submission. This detects button controls that trigger a form submission by being clicked and having the click processed by the browser rather than being captured by JavaScript. Essentially, it detects if the button's name and value are part of the POST data, but with extra code to deal with the convoluted way in which browsers submit data for image button clicks

FormBuilder::handleInputElement

protected FormBuilder::handleInputElement($form_id, &$element, FormStateInterface &$form_state) Adds the #name and #value properties of an input element before rendering. File core/lib/Drupal/Core/Form/FormBuilder.php, line 1149 Class FormBuilder Provides form building and processing. Namespace Drupal\Core\Form Code protected function handleInputElement($form_id, &$element, FormStateInterface &$form_state) { if (!isset($element['#name'])) { $name = array_shift($el

RdfMapping::$id

Unique ID for the config entity. Type: string File core/modules/rdf/src/Entity/RdfMapping.php, line 35 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $id;

LanguageConfigOverride

Defines language configuration overrides. Hierarchy class \Drupal\Core\Config\ConfigBase implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\StorableConfigBaseclass \Drupal\language\Config\LanguageConfigOverride uses LanguageConfigCollectionNameTrait File core/modules/language/src/Config/LanguageConfigOverride.php, line 14 Namespace Drupal\language\Config Members Name Modifiers Type Desc

FormBuilder::doSubmitForm

public FormBuilder::doSubmitForm(&$form, FormStateInterface &$form_state) Handles the submitted form, executing callbacks and processing responses. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value null|\Symfony\Component\HttpFoundation\Response If a response was set by a submit handler, or if the form needs to redirect, a Response object will be returned. Ove

SqlContentEntityStorage::saveToSharedTables

protected SqlContentEntityStorage::saveToSharedTables(ContentEntityInterface $entity, $table_name = NULL, $new_revision = NULL) Saves fields that use the shared tables. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object. string $table_name: (optional) The table name to save to. Defaults to the data table. bool $new_revision: (optional) Whether we are dealing with a new revision. By default fetches the information from the entity object. File core/lib/Drupal/Core/E

Database

Primary front-controller for the database system. This class is uninstantiatable and un-extendable. It acts to encapsulate all control and shepherding of database connections into a single location without the use of globals. Hierarchy class \Drupal\Core\Database\Database File core/lib/Drupal/Core/Database/Database.php, line 12 Namespace Drupal\Core\Database Members Name Modifiers Type Description Database::$activeKey static protected property The key of the currently ac

EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions

public EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions($entity_type_id) Gets the entity type's most recently installed field storage definitions. During the application lifetime, field storage definitions can change. For example, updated code can be deployed. The getFieldStorageDefinitions() method will always return the definitions as determined by the current codebase. This method, however, returns what the definitions were when the last time that one of the \Drup