Search for render

  1. Search 3.x for render
  2. Search 7.x-1.x for render
  3. Search 6.x-1.x for render
  4. Search 4.0.x for render
  5. Other projects
Title Object type File name Summary
AjaxExampleController::renderLinkRenderableArray function ajax_example/src/Controller/AjaxExampleController.php Demonstrates a clickable AJAX-enabled link using the 'use-ajax' class.
ContactListBuilder::render function content_entity_example/src/Entity/Controller/ContactListBuilder.php We override ::render() so that we can add our own content above the table.
parent::render() is where EntityListBuilder creates the table using our
buildHeader() and buildRow() implementations.
Example: Render API group render_example/render_example.module The Render API
consists of two parts: one, structured arrays that provide data, and hints
about how that data should be rendered, and two, a rendering pipeline that
can be used to render these arrays into various output formats. This example
module…
Marquee::preRenderMarquee function render_example/src/Element/Marquee.php Pre-render callback; Process custom attribute options.
render-array.html.twig file render_example/templates/render-array.html.twig Default theme implementation for render_array_help.
render-example-add-div.html.twig file render_example/templates/render-example-add-div.html.twig Default theme implementation for render_example_add_div.
render-example-marquee.html.twig file render_example/templates/render-example-marquee.html.twig Default theme implementation for the marquee render element.
RenderExampleController class render_example/src/Controller/RenderExampleController.php Provides module description page and examples of building render arrays.
RenderExampleController.php file render_example/src/Controller/RenderExampleController.php
RenderExampleController::arrays function render_example/src/Controller/RenderExampleController.php Examples of defining content using renderable arrays.
RenderExampleController::create function render_example/src/Controller/RenderExampleController.php
RenderExampleController::getModuleName function render_example/src/Controller/RenderExampleController.php Name of our module.
RenderExampleController::lazyBuilder function render_example/src/Controller/RenderExampleController.php Example #lazy_builder callback.
RenderExampleController::postRenderAddPrefix function render_example/src/Controller/RenderExampleController.php Example '#post_render' callback function.
RenderExampleController::preRender function render_example/src/Controller/RenderExampleController.php A #pre_render callback, expand array to include additional example info.
RenderExampleController::preRenderAddSuffix function render_example/src/Controller/RenderExampleController.php Example '#pre_render' function.
RenderExampleController::trustedCallbacks function render_example/src/Controller/RenderExampleController.php
RenderExampleController::__construct function render_example/src/Controller/RenderExampleController.php Constructs a new BlockController instance.
RenderExampleDemoForm class render_example/src/Form/RenderExampleDemoForm.php Provides the form for toggling module features on and off.
RenderExampleDemoForm.php file render_example/src/Form/RenderExampleDemoForm.php
RenderExampleDemoForm::$moduleHandler property render_example/src/Form/RenderExampleDemoForm.php Module handler service.
RenderExampleDemoForm::buildForm function render_example/src/Form/RenderExampleDemoForm.php
RenderExampleDemoForm::create function render_example/src/Form/RenderExampleDemoForm.php
RenderExampleDemoForm::getEditableConfigNames function render_example/src/Form/RenderExampleDemoForm.php
RenderExampleDemoForm::getFormId function render_example/src/Form/RenderExampleDemoForm.php
RenderExampleDemoForm::submitForm function render_example/src/Form/RenderExampleDemoForm.php
RenderExampleDemoForm::__construct function render_example/src/Form/RenderExampleDemoForm.php
RenderExampleMenuTest class render_example/tests/src/Functional/RenderExampleMenuTest.php Test the user-facing menus in Render Example.
RenderExampleMenuTest.php file render_example/tests/src/Functional/RenderExampleMenuTest.php
RenderExampleMenuTest::$defaultTheme property render_example/tests/src/Functional/RenderExampleMenuTest.php
RenderExampleMenuTest::$modules property render_example/tests/src/Functional/RenderExampleMenuTest.php Modules to enable.
RenderExampleMenuTest::$profile property render_example/tests/src/Functional/RenderExampleMenuTest.php The installation profile to use with this test.
RenderExampleMenuTest::testRenderExampleLinksExist function render_example/tests/src/Functional/RenderExampleMenuTest.php Verify and validate that default menu links were loaded for this module.
RenderExampleTest class render_example/tests/src/Functional/RenderExampleTest.php Test the render example functionality.
RenderExampleTest.php file render_example/tests/src/Functional/RenderExampleTest.php
RenderExampleTest::$defaultTheme property render_example/tests/src/Functional/RenderExampleTest.php
RenderExampleTest::$modules property render_example/tests/src/Functional/RenderExampleTest.php
RenderExampleTest::$profile property render_example/tests/src/Functional/RenderExampleTest.php Most of our render array altering behaviors are dependent on the standard
installation profile, so we'll use that here.
RenderExampleTest::testRenderExample function render_example/tests/src/Functional/RenderExampleTest.php Functional tests of the pages we made.
render_example.css file render_example/css/render_example.css .render_example--array {
border-bottom: 2px solid #000;
margin-top: 10px;
padding-left: 5px;
padding-top: 5px;
}

.render_example--code {
background: #f1f1f1;
border: 1px solid #000;
display: block;
max-height: 300px;
overflow:…
render_example.info.yml file render_example/render_example.info.yml render_example/render_example.info.yml
render_example.libraries.yml file render_example/render_example.libraries.yml render_example/render_example.libraries.yml
render_example.links.menu.yml file render_example/render_example.links.menu.yml render_example/render_example.links.menu.yml
render_example.module file render_example/render_example.module Demonstrates using Drupal's Render API.
render_example.routing.yml file render_example/render_example.routing.yml render_example/render_example.routing.yml
render_example.schema.yml file render_example/config/schema/render_example.schema.yml render_example/config/schema/render_example.schema.yml
render_example.settings.yml file render_example/config/install/render_example.settings.yml render_example/config/install/render_example.settings.yml
render_example_preprocess_block function render_example/render_example.module Implements hook_preprocess_block().
render_example_preprocess_page function render_example/render_example.module Implements hook_preprocess_page().
render_example_theme function render_example/render_example.module Implements hook_theme().