ReorderDisplays::getFormKey

public ReorderDisplays::getFormKey() Returns the key that represents this form. Return value string The form key used in the URL, e.g., the string 'add-handler' in 'admin/structure/views/%/add-handler/%/%/%'. Overrides ViewsFormInterface::getFormKey File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 17 Class ReorderDisplays Displays the display reorder form. Namespace Drupal\views_ui\Form\Ajax Code public function getFormKey() { return 'reorder-displays'; }

ReorderDisplays::getFormId

public ReorderDisplays::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/Ajax/ReorderDisplays.php, line 24 Class ReorderDisplays Displays the display reorder form. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_reorder_displays_form'; }

ReorderDisplays::buildForm

public ReorderDisplays::buildForm(array $form, FormStateInterface $form_state) Form constructor. 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 array The form structure. Overrides FormInterface::buildForm File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 31 Class ReorderDisplays Displays the display reorder form. Namespace Drupal\views_ui\F

ReorderDisplays

Displays the display reorder form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterfaceclass \Drupal\views_ui\Form\Ajax\ReorderDisplays File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 12 Namespace Drupal\view

RenderEvents::SELECT_PAGE_DISPLAY_VARIANT

Name of the event when selecting a page display variant to use. This event allows you to select a different page display variant to use when rendering a page. The event listener method receives a \Drupal\Core\Render\PageDisplayVariantSelectionEvent instance. See also \Drupal\Core\Render\PageDisplayVariantSelectionEvent \Drupal\Core\Render\MainContent\HtmlRenderer \Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber Related topics Events Overview of event dispatch and subscribing F

RenderEvents

Defines events for the render system. Hierarchy class \Drupal\Core\Render\RenderEvents File core/lib/Drupal/Core/Render/RenderEvents.php, line 8 Namespace Drupal\Core\Render Members Name Modifiers Type Description RenderEvents::SELECT_PAGE_DISPLAY_VARIANT constant Name of the event when selecting a page display variant to use.

RendererInterface::renderRoot

public RendererInterface::renderRoot(&$elements) Renders final HTML given a structured array tree. Calls ::render() in such a way that placeholders are replaced. Should therefore only be used in occasions where the final rendering is happening, just before sending a Response: system internals that are responsible for rendering the final HTML render arrays for non-HTML responses, such as feeds (Cannot be executed within another render context.) Parameters array $elements: The structured a

RendererInterface::renderPlain

public RendererInterface::renderPlain(&$elements) Renders final HTML in situations where no assets are needed. Calls ::render() in such a way that placeholders are replaced. Useful for instance when rendering the values of tokens or emails, which need a render array being turned into a string, but do not need any of the bubbleable metadata (the attached assets and cache tags). Some of these are a relatively common use case and happen *within* a ::renderRoot() call, but that is generally hig

RendererInterface::renderPlaceholder

public RendererInterface::renderPlaceholder($placeholder, array $elements) Renders final HTML for a placeholder. Renders the placeholder in isolation. Parameters string $placeholder: An attached placeholder to render. (This must be a key of one of the values of $elements['#attached']['placeholders'].) array $elements: The structured array describing the data to be rendered. Return value array The updated $elements. See also \Drupal\Core\Render\RendererInterface::render() File core/lib/Drupal

RendererInterface::render

public RendererInterface::render(&$elements, $is_root_call = FALSE) Renders HTML given a structured array tree. Renderable arrays have two kinds of key/value pairs: properties and children. Properties have keys starting with '#' and their values influence how the array will be rendered. Children are all elements whose keys do not start with a '#'. Their values should be renderable arrays themselves, which will be rendered during the rendering of the parent array. The markup provided by the