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
RenderElementTest::testPreRenderAjaxFormWithQueryOptions function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm
RendererBase::preRender function core/modules/views/src/Entity/Render/RendererBase.php Runs before each entity is rendered.
RendererBubblingTest::providerTestBubblingWithPrerender function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Provides two test elements: one without, and one with the theme system.
RendererBubblingTest::testBubblingWithoutPreRender function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Tests bubbling of assets when NOT using #pre_render callbacks.
RendererBubblingTest::testBubblingWithPrerender function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Tests bubbling of bubbleable metadata added by #pre_render callbacks.
Roles::preRender function core/modules/user/src/Plugin/views/field/Roles.php Runs before any fields are rendered.
RowPluginBase::preRender function core/modules/views/src/Plugin/views/row/RowPluginBase.php Allow the style to do stuff before each row is rendered.
Rss::preRender function core/modules/node/src/Plugin/views/row/Rss.php Allow the style to do stuff before each row is rendered.
Rss::preRender function core/modules/comment/src/Plugin/views/row/Rss.php Allow the style to do stuff before each row is rendered.
Search::preRenderSearch function core/lib/Drupal/Core/Render/Element/Search.php Prepares a #type 'search' render element for input.html.twig.
Select::preRenderSelect function core/lib/Drupal/Core/Render/Element/Select.php Prepares a select render element.
StatusReport::preRenderGroupRequirements function core/lib/Drupal/Core/Render/Element/StatusReport.php #pre_render callback to group requirements.
StatusReportPage::preRenderCounters function core/modules/system/src/Element/StatusReportPage.php #pre_render callback to create counter elements.
StatusReportPage::preRenderGeneralInfo function core/modules/system/src/Element/StatusReportPage.php #pre_render callback to get general info out of requirements.
StatusReportPage::preRenderRequirements function core/modules/system/src/Element/StatusReportPage.php #pre_render callback to create status report requirements.
StylePluginBase::elementPreRenderRow function core/modules/views/src/Plugin/views/style/StylePluginBase.php #pre_render callback for view row field rendering.
StylePluginBase::preRender function core/modules/views/src/Plugin/views/style/StylePluginBase.php Allow the style to do stuff before each row is rendered.
SystemCompactLink::preRenderCompactLink function core/lib/Drupal/Core/Render/Element/SystemCompactLink.php Pre-render callback: Renders a link into #markup.
SystemTestController::preRenderCacheTags function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php Sets a cache tag on an element to help test #pre_render and cache tags.
Table::preRenderTable function core/lib/Drupal/Core/Render/Element/Table.php #pre_render callback to transform children of an element of #type 'table'.
Tableselect::preRenderTableselect function core/lib/Drupal/Core/Render/Element/Tableselect.php Prepares a 'tableselect' #type element for rendering.
TaxonomyIndexTid::preRender function core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php Runs before any fields are rendered.
Tel::preRenderTel function core/lib/Drupal/Core/Render/Element/Tel.php Prepares a #type 'tel' render element for input.html.twig.
TestCallables::preRenderPrinted function core/tests/Drupal/Tests/Core/Render/RendererTest.php
Textfield::preRenderTextfield function core/lib/Drupal/Core/Render/Element/Textfield.php Prepares a #type 'textfield' render element for input.html.twig.
TextTrimmedFormatter::preRenderSummary function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Pre-render callback: Renders a processed text element's #markup as a summary.
Title::preRender function core/modules/views/src/Plugin/views/area/Title.php Performs any operations needed before full rendering.
Toolbar::preRenderToolbar function core/modules/toolbar/src/Element/Toolbar.php Builds the Toolbar as a structured array ready for rendering.
ToolbarController::preRenderAdministrationTray function core/modules/toolbar/src/Controller/ToolbarController.php Renders the toolbar's administration tray.
ToolbarController::preRenderGetRenderedSubtrees function core/modules/toolbar/src/Controller/ToolbarController.php #pre_render callback for toolbar_get_rendered_subtrees().
ToolbarItem::preRenderToolbarItem function core/modules/toolbar/src/Element/ToolbarItem.php Provides markup for associating a tray trigger with a tray element.
TranslationLanguageRenderer::preRenderByRelationship function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Runs before each entity is rendered if a relationship is needed.
Url::preRenderUrl function core/lib/Drupal/Core/Render/Element/Url.php Prepares a #type 'url' render element for input.html.twig.
VerticalTabs::preRenderVerticalTabs function core/lib/Drupal/Core/Render/Element/VerticalTabs.php Prepares a vertical_tabs element for rendering.
View::preRenderViewElement function core/modules/views/src/Element/View.php View element pre render callback.
ViewExecutableTest::testSetCurrentPageBeforePreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setCurrentPage
@covers ::getCurrentPage
ViewExecutableTest::testSetCurrentPageDuringPreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setCurrentPage
@covers ::getCurrentPage
ViewExecutableTest::testSetItemsPerPageBeforePreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setItemsPerPage
@covers ::getItemsPerPage
ViewExecutableTest::testSetItemsPerPageDuringPreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setItemsPerPage
@covers ::getItemsPerPage
ViewExecutableTest::testSetOffsetBeforePreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setOffset
@covers ::getOffset
ViewExecutableTest::testSetOffsetDuringPreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setOffset
@covers ::getOffset
ViewsFormMainForm::preRenderViewsForm function core/modules/views/src/Form/ViewsFormMainForm.php Replaces views substitution placeholders.
ViewsHooksTest::testViewsFormMainFormPreRender function core/modules/views/tests/src/Kernel/ViewsHooksTest.php Tests how hook_views_form_substitutions() makes substitutions.
ViewsPluginInterface::preRenderAddFieldsetMarkup function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Moves form elements into fieldsets for presentation purposes.
ViewsPluginInterface::preRenderFlattenData function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Flattens the structure of form elements.
ViewsTestDataController::preRender function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php Tests pre_render function.

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