FinishResponseSubscriber::onRespond

public FinishResponseSubscriber::onRespond(FilterResponseEvent $event) Sets extra headers on successful responses. Parameters \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event: The event to process. File core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php, line 97 Class FinishResponseSubscriber Response subscriber to handle finished responses. Namespace Drupal\Core\EventSubscriber Code public function onRespond(FilterResponseEvent $event) { if (!$event->

FormBuilder::buildForm

public FormBuilder::buildForm($form_id, FormStateInterface &$form_state) Builds and processes a form for a given form ID. The form may also be retrieved from the cache if the form was built in a previous page load. The form is then passed on for processing, validation, and submission if there is proper input. Parameters \Drupal\Core\Form\FormInterface|string $form_id: The value must be one of the following: The name of a class that implements \Drupal\Core\Form\FormInterface. An instance of

UpdaterInterface::postUpdate

public UpdaterInterface::postUpdate() Actions to run after an update has occurred. File core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 66 Class UpdaterInterface Defines an interface for a class which can update a Drupal project. Namespace Drupal\Core\Updater Code public function postUpdate();

ViewsCache::$id

The plugin ID. Type: string File core/modules/views/src/Annotation/ViewsCache.php, line 21 Class ViewsCache Defines a Plugin annotation object for views cache plugins. Namespace Drupal\views\Annotation Code public $id;

BigPipeResponseAttachmentsProcessor::processAttachments

public BigPipeResponseAttachmentsProcessor::processAttachments(AttachmentsInterface $response) Processes the attachments of a response that has attachments. Libraries, JavaScript settings, feeds, HTML <head> tags, HTML <head> links, HTTP headers, and the HTTP status code are attached to render arrays using the #attached property. The #attached property is an associative array, where the keys are the attachment types and the values are the attached data. For example: $build['#attache

Button::preRenderButton

public static Button::preRenderButton($element) Prepares a #type 'button' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #attributes, #button_type, #name, #value. The #button_type property accepts any value, though core themes have CSS that styles the following button_types appropriately: 'primary', 'danger'. Return value array The $element with prepared variables ready for input.html.twig. File co

AfterCommand::render

public AfterCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides InsertCommand::render File core/lib/Drupal/Core/Ajax/AfterCommand.php, line 24 Class AfterCommand An AJAX command for calling the jQuery after() method. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'insert', 'method' => 'after', 'selector' => $this->selector, 'data' => $this->getRenderedContent(), 'settings' =&g

HtmlTag::preRenderConditionalComments

public static HtmlTag::preRenderConditionalComments($element) Pre-render callback: Renders #browsers into #prefix and #suffix. Parameters array $element: A render array with a '#browsers' property. The '#browsers' property can contain any or all of the following keys: 'IE': If FALSE, the element is not rendered by Internet Explorer. If TRUE, the element is rendered by Internet Explorer. Can also be a string containing an expression for Internet Explorer to evaluate as part of a conditional co

AlertCommand::$text

The text to be displayed in the alert box. Type: string File core/lib/Drupal/Core/Ajax/AlertCommand.php, line 17 Class AlertCommand AJAX command for a javascript alert box. Namespace Drupal\Core\Ajax Code protected $text;

ConfigTranslationBlockListBuilder

Defines the config translation list builder for blocks. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder implements ConfigTranslationEntityListBuilderInterfaceclass \Drupal\config_translation\Contr