Files - 4.0.x - examples

Title Deprecated File name Namespace Summary
plugin_type_example.links.menu.yml modules/plugin_type_example/plugin_type_example.links.menu.yml modules/plugin_type_example/plugin_type_example.links.menu.yml
plugin_type_example.module modules/plugin_type_example/plugin_type_example.module Demonstrates how to define a new plugin type.
plugin_type_example.routing.yml modules/plugin_type_example/plugin_type_example.routing.yml modules/plugin_type_example/plugin_type_example.routing.yml
plugin_type_example.services.yml modules/plugin_type_example/plugin_type_example.services.yml modules/plugin_type_example/plugin_type_example.services.yml
ProtectedPrivates.php modules/phpunit_example/src/ProtectedPrivates.php Drupal\phpunit_example
ProtectedPrivatesSubclass.php modules/phpunit_example/tests/src/Unit/Subclasses/ProtectedPrivatesSubclass.php Drupal\Tests\phpunit_example\Unit\Subclasses
ProtectedPrivatesTest.php modules/phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Drupal\Tests\phpunit_example\Unit
QueueExampleForm.php modules/queue_example/src/Form/QueueExampleForm.php Drupal\queue_example\Form
QueueExampleTest.php modules/queue_example/tests/src/Functional/QueueExampleTest.php Drupal\Tests\queue_example\Functional
queue_example.info.yml modules/queue_example/queue_example.info.yml modules/queue_example/queue_example.info.yml
queue_example.links.menu.yml modules/queue_example/queue_example.links.menu.yml modules/queue_example/queue_example.links.menu.yml
queue_example.module modules/queue_example/queue_example.module Demonstrates use of the Queue API in Drupal.
queue_example.routing.yml modules/queue_example/queue_example.routing.yml modules/queue_example/queue_example.routing.yml
render-array.html.twig modules/render_example/templates/render-array.html.twig Default theme implementation for render_array_help.
render-example-add-div.html.twig modules/render_example/templates/render-example-add-div.html.twig Default theme implementation for render_example_add_div.
render-example-marquee.html.twig modules/render_example/templates/render-example-marquee.html.twig Default theme implementation for the marquee render element.
RenderExampleController.php modules/render_example/src/Controller/RenderExampleController.php Drupal\render_example\Controller
RenderExampleDemoForm.php modules/render_example/src/Form/RenderExampleDemoForm.php Drupal\render_example\Form
RenderExampleMenuTest.php modules/render_example/tests/src/Functional/RenderExampleMenuTest.php Drupal\Tests\render_example\Functional
RenderExampleTest.php modules/render_example/tests/src/Functional/RenderExampleTest.php Drupal\Tests\render_example\Functional
render_example.css modules/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 modules/render_example/render_example.info.yml modules/render_example/render_example.info.yml
render_example.libraries.yml modules/render_example/render_example.libraries.yml modules/render_example/render_example.libraries.yml
render_example.links.menu.yml modules/render_example/render_example.links.menu.yml modules/render_example/render_example.links.menu.yml
render_example.module modules/render_example/render_example.module Demonstrates using Drupal's Render API.
render_example.routing.yml modules/render_example/render_example.routing.yml modules/render_example/render_example.routing.yml
render_example.schema.yml modules/render_example/config/schema/render_example.schema.yml modules/render_example/config/schema/render_example.schema.yml
render_example.settings.yml modules/render_example/config/install/render_example.settings.yml modules/render_example/config/install/render_example.settings.yml
ReportWorkerBase.php modules/cron_example/src/Plugin/QueueWorker/ReportWorkerBase.php Drupal\cron_example\Plugin\QueueWorker
ReportWorkerOne.php modules/cron_example/src/Plugin/QueueWorker/ReportWorkerOne.php Drupal\cron_example\Plugin\QueueWorker
ReportWorkerTwo.php modules/cron_example/src/Plugin/QueueWorker/ReportWorkerTwo.php Drupal\cron_example\Plugin\QueueWorker
RestExampleActionTest.php modules/rest_example/tests/src/Functional/RestExampleActionTest.php Drupal\Tests\rest_example\Functional
RestExampleClientCalls.php modules/rest_example/src/RestExampleClientCalls.php Drupal\rest_example
RestExampleClientController.php modules/rest_example/src/Controller/RestExampleClientController.php Drupal\rest_example\Controller
RestExampleClientDelete.php modules/rest_example/src/Form/RestExampleClientDelete.php Drupal\rest_example\Form
RestExampleClientEdit.php modules/rest_example/src/Form/RestExampleClientEdit.php Drupal\rest_example\Form
RestExampleClientSettings.php modules/rest_example/src/Form/RestExampleClientSettings.php Drupal\rest_example\Form
RestExampleHelpController.php modules/rest_example/src/Controller/RestExampleHelpController.php Drupal\rest_example\Controller
RestExampleMenuTest.php modules/rest_example/tests/src/Functional/RestExampleMenuTest.php Drupal\Tests\rest_example\Functional
RestExampleSettingsTest.php modules/rest_example/tests/src/Functional/RestExampleSettingsTest.php Drupal\Tests\rest_example\Functional
rest_example.info.yml modules/rest_example/rest_example.info.yml modules/rest_example/rest_example.info.yml
rest_example.links.action.yml modules/rest_example/rest_example.links.action.yml modules/rest_example/rest_example.links.action.yml
rest_example.links.menu.yml modules/rest_example/rest_example.links.menu.yml modules/rest_example/rest_example.links.menu.yml
rest_example.module modules/rest_example/rest_example.module This is a demonstration of how to the REST service in Drupal works.
rest_example.routing.yml modules/rest_example/rest_example.routing.yml modules/rest_example/rest_example.routing.yml
rest_example.services.yml modules/rest_example/rest_example.services.yml modules/rest_example/rest_example.services.yml
RetrieveConfigFilesTrait.php tests/src/Unit/RetrieveConfigFilesTrait.php Drupal\Tests\examples\Unit
RetrieveRoutingFilesTrait.php tests/src/Unit/RetrieveRoutingFilesTrait.php Drupal\Tests\examples\Unit
RgbItem.php modules/field_example/src/Plugin/Field/FieldType/RgbItem.php Drupal\field_example\Plugin\Field\FieldType
Robot.php modules/config_entity_example/src/Entity/Robot.php Drupal\config_entity_example\Entity

Other projects