ContentTranslationHandler::entityFormAlter

public ContentTranslationHandler::entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity) Performs the needed alterations to the entity form. Parameters array $form: The entity form to be altered to provide the translation workflow. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Entity\EntityInterface $entity: The entity being created or edited. Overrides ContentTranslationHandlerInterface::entityFormAlter File c

views.module

Primarily Drupal hooks and global API functions to manipulate views. File core/modules/views/views.module Functions Name Description views_add_contextual_links Adds contextual links associated with a view display to a renderable array. views_disable_view Disables and saves a view. views_element_validate_tags Validation callback for query tags. views_embed_view Embed a view using a PHP snippet. views_enable_view Enables and saves a view. views_field_config_delete Im

BasicSettingsForm::getFormId

public BasicSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 50 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Code public function getFormId() { return 'views_ui_admin_settings_basic'; }

ExecutionContext::$constraint

The currently validated constraint. Type: \Symfony\Component\Validator\Constraint|null File core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 92 Class ExecutionContext Defines an execution context class. Namespace Drupal\Core\TypedData\Validation Code protected $constraint;

ContactFormAccessControlHandler

Defines the access control handler for the contact form entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\contact\ContactFormAccessControlHandler See also \Drupal\contact\Entity\ContactForm. File core/modules/contact/src/ContactFormAccessControlHandler.php, line 15 Namespace Drupal\contact Members

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;

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 ===

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

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

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