DynamicPageCacheSubscriber::onResponse

public DynamicPageCacheSubscriber::onResponse(FilterResponseEvent $event) Stores a response in case of a Dynamic Page Cache miss, if cacheable. Parameters \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event: The event to process. File core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php, line 151 Class DynamicPageCacheSubscriber Returns cached responses as early and avoiding as much work as possible. Namespace Drupal\dynamic_page_cache\EventSubs

ContactController

Controller routines for contact routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\contact\Controller\ContactController File core/modules/contact/src/Controller/ContactController.php, line 15 Namespace Drupal\contact\Controller Members Name Modifiers Type Description ContactController::$renderer prot

BlockEntityOffCanvasForm

Provides form for block instance forms when used in the off-canvas tray. This form removes advanced sections of regular block form such as the visibility settings, machine ID and region. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass

MenuLinkContentAccessControlHandler::checkAccess

protected MenuLinkContentAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The

update_check_requirements

update_check_requirements() Checks update requirements and reports errors and (optionally) warnings. File core/includes/update.inc, line 96 Drupal database update API. Code function update_check_requirements() { // Check requirements of all loaded modules. $requirements = \Drupal::moduleHandler()->invokeAll('requirements', array('update')); $requirements += update_system_schema_requirements(); return $requirements; }

ExtensionDiscovery::scanDirectory

protected ExtensionDiscovery::scanDirectory($dir, $include_tests) Recursively scans a base directory for the requested extension type. Parameters string $dir: A relative base directory path to scan, without trailing slash. bool $include_tests: Whether to include test extensions. If FALSE, all 'tests' directories are excluded in the search. Return value array An associative array whose keys are extension type names and whose values are associative arrays of \Drupal\Core\Extension\Extension obj

EntityDefinitionUpdateManagerInterface::updateFieldStorageDefinition

public EntityDefinitionUpdateManagerInterface::updateFieldStorageDefinition(FieldStorageDefinitionInterface $storage_definition) Applies any change performed to the passed field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. File core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 175 Class EntityDefinitionUpdateManagerInterface Defines an interface for managing entity definition

NegotiationConfigureForm::configureFormTable

protected NegotiationConfigureForm::configureFormTable(array &$form, $type) Builds a language negotiation method configuration table. Parameters array $form: The language negotiation configuration form. string $type: The language type to generate the table for. File core/modules/language/src/Form/NegotiationConfigureForm.php, line 216 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code protected funct

YamlFileLoader::parseDefinition

private YamlFileLoader::parseDefinition($id, $service, $file) Parses a definition. Parameters string $id: array $service: string $file: Throws InvalidArgumentException When tags are invalid. File core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php, line 138 Class YamlFileLoader YamlFileLoader loads YAML files service definitions. Namespace Drupal\Core\DependencyInjection Code private function parseDefinition($id, $service, $file) { if (is_string($service) && 0 ===

LOCALE_TRANSLATION_SOURCE_COMPARE_LT

Comparison result of source files timestamps. Timestamp of source 1 is less than the timestamp of source 2. See also _locale_translation_source_compare() File core/modules/locale/locale.translation.inc, line 15 Common API for interface translation. Code const LOCALE_TRANSLATION_SOURCE_COMPARE_LT = -1;