Search for render
| Title | Object type | File name | Summary | 
|---|---|---|---|
| AjaxExampleController::renderLinkRenderableArray | function | modules/ | 
                                                                                        Demonstrates a clickable AJAX-enabled link using the 'use-ajax' class. | 
| ContactListBuilder::render | function | modules/ | 
                                                                                        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 | modules/ | 
                                                                                        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 | modules/ | 
                                                                                        Pre-render callback; Process custom attribute options. | 
| render-array.html.twig | file | modules/ | 
                                                                                        Default theme implementation for render_array_help. | 
| render-example-add-div.html.twig | file | modules/ | 
                                                                                        Default theme implementation for render_example_add_div. | 
| render-example-marquee.html.twig | file | modules/ | 
                                                                                        Default theme implementation for the marquee render element. | 
| RenderExampleController | class | modules/ | 
                                                                                        Provides module description page and examples of building render arrays. | 
| RenderExampleController.php | file | modules/ | 
                                                                                        |
| RenderExampleController::arrays | function | modules/ | 
                                                                                        Examples of defining content using renderable arrays. | 
| RenderExampleController::create | function | modules/ | 
                                                                                        Instantiates a new instance of the implementing class using autowiring. | 
| RenderExampleController::getModuleName | function | modules/ | 
                                                                                        Name of our module. | 
| RenderExampleController::lazyBuilder | function | modules/ | 
                                                                                        Example #lazy_builder callback. | 
| RenderExampleController::postRenderAddPrefix | function | modules/ | 
                                                                                        Example '#post_render' callback function. | 
| RenderExampleController::preRender | function | modules/ | 
                                                                                        A #pre_render callback, expand array to include additional example info. | 
| RenderExampleController::preRenderAddSuffix | function | modules/ | 
                                                                                        Example '#pre_render' function. | 
| RenderExampleController::trustedCallbacks | function | modules/ | 
                                                                                        Lists the trusted callbacks provided by the implementing class. | 
| RenderExampleController::__construct | function | modules/ | 
                                                                                        Constructs a new BlockController instance. | 
| RenderExampleDemoForm | class | modules/ | 
                                                                                        Provides the form for toggling module features on and off. | 
| RenderExampleDemoForm.php | file | modules/ | 
                                                                                        |
| RenderExampleDemoForm::$moduleHandler | property | modules/ | 
                                                                                        Module handler service. | 
| RenderExampleDemoForm::buildForm | function | modules/ | 
                                                                                        Form constructor. | 
| RenderExampleDemoForm::create | function | modules/ | 
                                                                                        Instantiates a new instance of this class. | 
| RenderExampleDemoForm::getEditableConfigNames | function | modules/ | 
                                                                                        Gets the configuration names that will be editable. | 
| RenderExampleDemoForm::getFormId | function | modules/ | 
                                                                                        Returns a unique string identifying the form. | 
| RenderExampleDemoForm::submitForm | function | modules/ | 
                                                                                        Form submission handler. | 
| RenderExampleDemoForm::__construct | function | modules/ | 
                                                                                        Constructs a \Drupal\system\ConfigFormBase object. | 
| RenderExampleMenuTest | class | modules/ | 
                                                                                        Test the user-facing menus in Render Example. | 
| RenderExampleMenuTest.php | file | modules/ | 
                                                                                        |
| RenderExampleMenuTest::$defaultTheme | property | modules/ | 
                                                                                        The theme to install as the default for testing. | 
| RenderExampleMenuTest::$modules | property | modules/ | 
                                                                                        Modules to enable. | 
| RenderExampleMenuTest::$profile | property | modules/ | 
                                                                                        The installation profile to use with this test. | 
| RenderExampleMenuTest::testRenderExampleLinksExist | function | modules/ | 
                                                                                        Verify and validate that default menu links were loaded for this module. | 
| RenderExampleTest | class | modules/ | 
                                                                                        Test the render example functionality. | 
| RenderExampleTest.php | file | modules/ | 
                                                                                        |
| RenderExampleTest::$defaultTheme | property | modules/ | 
                                                                                        The theme to install as the default for testing. | 
| RenderExampleTest::$modules | property | modules/ | 
                                                                                        Modules to install. | 
| RenderExampleTest::$profile | property | modules/ | 
                                                                                        Most of our render array altering behaviors are dependent on the standard installation profile, so we'll use that here.  | 
              
| RenderExampleTest::testRenderExample | function | modules/ | 
                                                                                        Functional tests of the pages we made. | 
| render_example.css | file | modules/ | 
                                                                                        .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 | modules/ | 
                                                                                        modules/render_example/render_example.info.yml | 
| render_example.libraries.yml | file | modules/ | 
                                                                                        modules/render_example/render_example.libraries.yml | 
| render_example.links.menu.yml | file | modules/ | 
                                                                                        modules/render_example/render_example.links.menu.yml | 
| render_example.module | file | modules/ | 
                                                                                        Demonstrates using Drupal's Render API. | 
| render_example.routing.yml | file | modules/ | 
                                                                                        modules/render_example/render_example.routing.yml | 
| render_example.schema.yml | file | modules/ | 
                                                                                        modules/render_example/config/schema/render_example.schema.yml | 
| render_example.settings.yml | file | modules/ | 
                                                                                        modules/render_example/config/install/render_example.settings.yml | 
| render_example_preprocess_block | function | modules/ | 
                                                                                        Implements hook_preprocess_block(). | 
| render_example_preprocess_page | function | modules/ | 
                                                                                        Implements hook_preprocess_page(). | 
| render_example_theme | function | modules/ | 
                                                                                        Implements hook_theme(). | 
Pagination
- Page 1
 - Next page