Search for render
- Search 3.x for render
- Search 7.x-1.x for render
- Search 6.x-1.x for render
- Search 4.0.x for render
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
AjaxExampleController::renderLinkRenderableArray | function | ajax_example/ |
Demonstrates a clickable AJAX-enabled link using the 'use-ajax' class. |
ContactListBuilder::render | function | content_entity_example/ |
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/ |
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/ |
Pre-render callback; Process custom attribute options. |
render-array.html.twig | file | render_example/ |
Default theme implementation for render_array_help. |
render-example-add-div.html.twig | file | render_example/ |
Default theme implementation for render_example_add_div. |
render-example-marquee.html.twig | file | render_example/ |
Default theme implementation for the marquee render element. |
RenderExampleController | class | render_example/ |
Provides module description page and examples of building render arrays. |
RenderExampleController.php | file | render_example/ |
|
RenderExampleController::arrays | function | render_example/ |
Examples of defining content using renderable arrays. |
RenderExampleController::create | function | render_example/ |
|
RenderExampleController::getModuleName | function | render_example/ |
Name of our module. |
RenderExampleController::lazyBuilder | function | render_example/ |
Example #lazy_builder callback. |
RenderExampleController::postRenderAddPrefix | function | render_example/ |
Example '#post_render' callback function. |
RenderExampleController::preRender | function | render_example/ |
A #pre_render callback, expand array to include additional example info. |
RenderExampleController::preRenderAddSuffix | function | render_example/ |
Example '#pre_render' function. |
RenderExampleController::trustedCallbacks | function | render_example/ |
|
RenderExampleController::__construct | function | render_example/ |
Constructs a new BlockController instance. |
RenderExampleDemoForm | class | render_example/ |
Provides the form for toggling module features on and off. |
RenderExampleDemoForm.php | file | render_example/ |
|
RenderExampleDemoForm::$moduleHandler | property | render_example/ |
Module handler service. |
RenderExampleDemoForm::buildForm | function | render_example/ |
|
RenderExampleDemoForm::create | function | render_example/ |
|
RenderExampleDemoForm::getEditableConfigNames | function | render_example/ |
|
RenderExampleDemoForm::getFormId | function | render_example/ |
|
RenderExampleDemoForm::submitForm | function | render_example/ |
|
RenderExampleDemoForm::__construct | function | render_example/ |
|
RenderExampleMenuTest | class | render_example/ |
Test the user-facing menus in Render Example. |
RenderExampleMenuTest.php | file | render_example/ |
|
RenderExampleMenuTest::$defaultTheme | property | render_example/ |
|
RenderExampleMenuTest::$modules | property | render_example/ |
Modules to enable. |
RenderExampleMenuTest::$profile | property | render_example/ |
The installation profile to use with this test. |
RenderExampleMenuTest::testRenderExampleLinksExist | function | render_example/ |
Verify and validate that default menu links were loaded for this module. |
RenderExampleTest | class | render_example/ |
Test the render example functionality. |
RenderExampleTest.php | file | render_example/ |
|
RenderExampleTest::$defaultTheme | property | render_example/ |
|
RenderExampleTest::$modules | property | render_example/ |
|
RenderExampleTest::$profile | property | render_example/ |
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/ |
Functional tests of the pages we made. |
render_example.css | file | render_example/ |
.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/render_example.info.yml |
render_example.libraries.yml | file | render_example/ |
render_example/render_example.libraries.yml |
render_example.links.menu.yml | file | render_example/ |
render_example/render_example.links.menu.yml |
render_example.module | file | render_example/ |
Demonstrates using Drupal's Render API. |
render_example.routing.yml | file | render_example/ |
render_example/render_example.routing.yml |
render_example.schema.yml | file | render_example/ |
render_example/config/schema/render_example.schema.yml |
render_example.settings.yml | file | render_example/ |
render_example/config/install/render_example.settings.yml |
render_example_preprocess_block | function | render_example/ |
Implements hook_preprocess_block(). |
render_example_preprocess_page | function | render_example/ |
Implements hook_preprocess_page(). |
render_example_theme | function | render_example/ |
Implements hook_theme(). |
Pagination
- Page 1
- Next page