CacheableMetadata::merge

public CacheableMetadata::merge(CacheableMetadata $other) Merges the values of another CacheableMetadata object with this one. Parameters \Drupal\Core\Cache\CacheableMetadata $other: The other CacheableMetadata object. Return value static A new CacheableMetadata object, with the merged data. File core/lib/Drupal/Core/Cache/CacheableMetadata.php, line 92 Class CacheableMetadata Defines a generic class for passing cacheability metadata. Namespace Drupal\Core\Cache Code public function

MessageForm

Form controller for contact message forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\contact\MessageForm File core/modules/contact/src

SqlContentEntityStorage::loadFromDedicatedTables

protected SqlContentEntityStorage::loadFromDedicatedTables(array &$values, $load_from_revision) Loads values of fields stored in dedicated tables for a group of entities. Parameters array &$values: An array of values keyed by entity ID. bool $load_from_revision: (optional) Flag to indicate whether revisions should be loaded or not, defaults to FALSE. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1085 Class SqlContentEntityStorage A content entity database

BigPipeInterface

Interface for sending an HTML response in chunks (to get faster page loads). At a high level, BigPipe sends a HTML response in chunks: 1. one chunk: everything until just before </body> — this contains BigPipe placeholders for the personalized parts of the page. Hence this sends the non-personalized parts of the page. Let's call it The Skeleton. 2. N chunks: a <script> tag per BigPipe placeholder in The Skeleton. 3. one chunk: </body> and everything after it. This is conceptua

Dropbutton

Provides a render element for a set of links rendered as a drop-down button. By default, this element sets #theme so that the 'links' theme hook is used for rendering, with suffixes so that themes can override this specifically without overriding all links theming. If the #subtype property is provided in your render array with value 'foo', #theme is set to links__dropbutton__foo; if not, it's links__dropbutton; both of these can be overridden by setting the #theme property in your render array.

EntityMalformedException

Defines an exception thrown when a malformed entity is passed. Hierarchy class \Drupal\Core\Entity\EntityMalformedException extends \Exception File core/lib/Drupal/Core/Entity/EntityMalformedException.php, line 8 Namespace Drupal\Core\Entity Members

ThemeHandler::listInfo

public ThemeHandler::listInfo() Returns a list of currently installed themes. Return value \Drupal\Core\Extension\Extension[] An associative array of the currently installed themes. The keys are the themes' machine names and the values are objects having the following properties: filename: The filepath and name of the .info.yml file. name: The machine name of the theme. status: 1 for installed, 0 for uninstalled themes. info: The contents of the .info.yml file. stylesheets: A two dimensio

DbUpdateController::results

protected DbUpdateController::results(Request $request) Displays results of the update script with any accompanying errors. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. Return value array A render array. File core/modules/system/src/Controller/DbUpdateController.php, line 393 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected function results(Request $request) { // @todo S

EntityManager

Provides a wrapper around many other services relating to entities. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. We cannot use the deprecated PHPDoc tag because this service class is still used in legacy code paths. Symfony would fail test cases with deprecation warnings. @todo Enforce the deprecation of each method once https://www.drupal.org/node/2578361 is in. Hierarchy class \Drupal\Core\Entity\EntityManager implements EntityManagerInterface, ContainerAwareInterface uses

AccessResultInterface::isAllowed

public AccessResultInterface::isAllowed() Checks whether this access result indicates access is explicitly allowed. Return value bool When TRUE then isForbidden() and isNeutral() are FALSE. File core/lib/Drupal/Core/Access/AccessResultInterface.php, line 29 Class AccessResultInterface Interface for access result value objects. Namespace Drupal\Core\Access Code public function isAllowed();