Search for preRender

  1. Search 7.x for preRender
  2. Search 9.5.x for preRender
  3. Search 8.9.x for preRender
  4. Search 11.x for preRender
  5. Other projects
Title Object type File name Summary
ExposedFormPluginInterface::preRender function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php Runs before the view is rendered.
FieldHandlerInterface::preRender function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Runs before any fields are rendered.
FieldPluginBase::preRender function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Runs before any fields are rendered.
FieldUiTable::preRenderRegionRows function core/modules/field_ui/src/Element/FieldUiTable.php Performs pre-render to move #regions to rows.
FieldUiTable::tablePreRender function core/modules/field_ui/src/Element/FieldUiTable.php Performs pre-render tasks on field_ui_table elements.
File::preRenderFile function core/lib/Drupal/Core/Render/Element/File.php Prepares a #type 'file' render element for input.html.twig.
FormElement::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/FormElement.php Adds Ajax information about an element to communicate with JavaScript.
FormElement::preRenderGroup function core/lib/Drupal/Core/Render/Element/FormElement.php Adds members of this group as actual elements for rendering.
FunctionsTest::testDrupalPreRenderLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests the use of Link::preRenderLinks() on a nested array of links.
Hidden::preRenderHidden function core/lib/Drupal/Core/Render/Element/Hidden.php Prepares a #type 'hidden' render element for input.html.twig.
HtmlTag::preRenderHtmlTag function core/lib/Drupal/Core/Render/Element/HtmlTag.php Pre-render callback: Renders a generic HTML tag with attributes.
HtmlTagTest::providerPreRenderHtmlTag function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php Data provider for preRenderHtmlTag test.
HtmlTagTest::testPreRenderHtmlTag function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @covers ::preRenderHtmlTag
@dataProvider providerPreRenderHtmlTag
ImageButton::preRenderButton function core/lib/Drupal/Core/Render/Element/ImageButton.php Prepares a #type 'button' render element for input.html.twig.
InlineTemplate::preRenderInlineTemplate function core/lib/Drupal/Core/Render/Element/InlineTemplate.php Renders a twig string directly.
InputRequired::preRender function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Runs before the view is rendered.
LayoutBuilder::preRender function core/modules/layout_builder/src/Element/LayoutBuilder.php Pre-render callback: Renders the Layout Builder UI.
Link::preRenderLink function core/lib/Drupal/Core/Render/Element/Link.php Pre-render callback: Renders a link into #markup.
Link::preRenderLinks function core/lib/Drupal/Core/Render/Element/Link.php Pre-render callback: Collects child links into a single array.
MachineName::preRender function core/modules/views/src/Plugin/views/field/MachineName.php Runs before any fields are rendered.
ManagedFile::preRenderManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Hides display of the upload or remove controls.
MediaLibraryWidget::preRenderWidget function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Prepares the widget's render element for rendering.
NodeNewComments::preRender function core/modules/comment/src/Plugin/views/field/NodeNewComments.php Runs before any fields are rendered.
Number::preRenderNumber function core/lib/Drupal/Core/Render/Element/Number.php Prepares a #type 'number' render element for input.html.twig.
OliveroPreRender class core/themes/olivero/src/OliveroPreRender.php Implements trusted prerender callbacks for the Olivero theme.
OliveroPreRender.php file core/themes/olivero/src/OliveroPreRender.php
OliveroPreRender::messagePlaceholder function core/themes/olivero/src/OliveroPreRender.php Prerender callback for status_messages placeholder.
OliveroPreRender::textFormat function core/themes/olivero/src/OliveroPreRender.php Prerender callback for text_format elements.
OliveroPreRender::trustedCallbacks function core/themes/olivero/src/OliveroPreRender.php Lists the trusted callbacks provided by the implementing class.
Pager::preRenderPager function core/lib/Drupal/Core/Render/Element/Pager.php #pre_render callback to associate the appropriate cache context.
PagerPluginBase::preRender function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Perform any needed actions just before rendering.
Password::preRenderPassword function core/lib/Drupal/Core/Render/Element/Password.php Prepares a #type 'password' render element for input.html.twig.
Permissions::preRender function core/modules/user/src/Plugin/views/field/Permissions.php Runs before any fields are rendered.
PermissionsTest::testPreRenderNullEntity function core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php Tests the preRender method when getEntity returns NULL.
PluginBase::preRenderAddFieldsetMarkup function core/modules/views/src/Plugin/views/PluginBase.php Moves form elements into fieldsets for presentation purposes.
PluginBase::preRenderFlattenData function core/modules/views/src/Plugin/views/PluginBase.php Flattens the structure of form elements.
PrerenderList class core/modules/views/src/Plugin/views/field/PrerenderList.php Field handler to provide a list of items.
PrerenderList.php file core/modules/views/src/Plugin/views/field/PrerenderList.php
PrerenderList::$items property core/modules/views/src/Plugin/views/field/PrerenderList.php Stores all items which are used to render the items.
PrerenderList::buildOptionsForm function core/modules/views/src/Plugin/views/field/PrerenderList.php Default option form that provides label widget that all fields should have.
PrerenderList::defineOptions function core/modules/views/src/Plugin/views/field/PrerenderList.php Information about options for all kinds of purposes will be held here.
PrerenderList::getItems function core/modules/views/src/Plugin/views/field/PrerenderList.php Items should be stored in the result array, if possible, as an array
with 'value' as the actual displayable value of the item, plus
any items that might be found in the 'alter' options array for
creating links, such as…
PrerenderList::renderItems function core/modules/views/src/Plugin/views/field/PrerenderList.php Render all items in this field together.
ProcessedText::preRenderText function core/modules/filter/src/Element/ProcessedText.php Pre-render callback: Renders a processed text element into #markup.
Radio::preRenderRadio function core/lib/Drupal/Core/Render/Element/Radio.php Prepares a #type 'radio' render element for input.html.twig.
Range::preRenderRange function core/lib/Drupal/Core/Render/Element/Range.php Prepares a #type 'range' render element for input.html.twig.
RenderElement::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds Ajax information about an element to communicate with JavaScript.
RenderElement::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds members of this group as actual elements for rendering.
RenderElementBase::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Adds Ajax information about an element to communicate with JavaScript.
RenderElementBase::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Adds members of this group as actual elements for rendering.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.