Files - 3.x - examples

Primary tabs

Title Deprecated File name Namespace Summary
HooksExampleTest.php modules/hooks_example/tests/src/Functional/HooksExampleTest.php Drupal\Tests\hooks_example\Functional
hooks_example.api.php modules/hooks_example/hooks_example.api.php Hooks specific to the Hooks Example module.
hooks_example.info.yml modules/hooks_example/hooks_example.info.yml modules/hooks_example/hooks_example.info.yml
hooks_example.links.menu.yml modules/hooks_example/hooks_example.links.menu.yml modules/hooks_example/hooks_example.links.menu.yml
hooks_example.module modules/hooks_example/hooks_example.module Examples demonstrating how to implement and invoke hooks.
hooks_example.routing.yml modules/hooks_example/hooks_example.routing.yml modules/hooks_example/hooks_example.routing.yml
IncidentEvents.php modules/events_example/src/Event/IncidentEvents.php Drupal\events_example\Event
IncidentReportEvent.php modules/events_example/src/Event/IncidentReportEvent.php Drupal\events_example\Event
InputDemo.php modules/form_api_example/src/Form/InputDemo.php Drupal\form_api_example\Form
JsExampleController.php modules/js_example/src/Controller/JsExampleController.php Drupal\js_example\Controller
JsExampleTest.php modules/js_example/tests/src/Functional/JsExampleTest.php Drupal\Tests\js_example\Functional
jsweights.css modules/js_example/css/jsweights.css .js-weights div { font-size: 20px; font-weight: bold; }
js_example.info.yml modules/js_example/js_example.info.yml modules/js_example/js_example.info.yml
js_example.libraries.yml modules/js_example/js_example.libraries.yml modules/js_example/js_example.libraries.yml
js_example.links.menu.yml modules/js_example/js_example.links.menu.yml modules/js_example/js_example.links.menu.yml
js_example.module modules/js_example/js_example.module Examples showing how to use some of the new JavaScript features in Drupal 8.
js_example.routing.yml modules/js_example/js_example.routing.yml modules/js_example/js_example.routing.yml
Marquee.php modules/render_example/src/Element/Marquee.php Drupal\render_example\Element
MenuExampleController.php modules/menu_example/src/Controller/MenuExampleController.php Drupal\menu_example\Controller
MenuExampleDynamicRoutes.php modules/menu_example/src/Routing/MenuExampleDynamicRoutes.php Drupal\menu_example\Routing
MenuExampleTest.php modules/menu_example/tests/src/Functional/MenuExampleTest.php Drupal\Tests\menu_example\Functional
menu_example.info.yml modules/menu_example/menu_example.info.yml modules/menu_example/menu_example.info.yml
menu_example.links.menu.yml modules/menu_example/menu_example.links.menu.yml modules/menu_example/menu_example.links.menu.yml
menu_example.links.task.yml modules/menu_example/menu_example.links.task.yml modules/menu_example/menu_example.links.task.yml
menu_example.module modules/menu_example/menu_example.module Module file for menu_example_module.
menu_example.permissions.yml modules/menu_example/menu_example.permissions.yml modules/menu_example/menu_example.permissions.yml
menu_example.routing.yml modules/menu_example/menu_example.routing.yml modules/menu_example/menu_example.routing.yml
menu_example.services.yml modules/menu_example/menu_example.services.yml modules/menu_example/menu_example.services.yml
MockSessionTrait.php modules/stream_wrapper_example/tests/src/Traits/MockSessionTrait.php Drupal\Tests\stream_wrapper_example\Traits
ModalForm.php modules/form_api_example/src/Form/ModalForm.php Drupal\form_api_example\Form
ModalFormTest.php modules/form_api_example/tests/src/FunctionalJavascript/ModalFormTest.php Drupal\Tests\form_api_example\FunctionalJavascript
MultistepForm.php modules/form_api_example/src/Form/MultistepForm.php Drupal\form_api_example\Form
MultistepFormTest.php modules/form_api_example/tests/src/Functional/MultistepFormTest.php Drupal\Tests\form_api_example\Functional
node.type.basic_content_type.yml modules/node_type_example/config/install/node.type.basic_content_type.yml modules/node_type_example/config/install/node.type.basic_content_type.yml
node.type.locked_content_type.yml modules/node_type_example/config/install/node.type.locked_content_type.yml modules/node_type_example/config/install/node.type.locked_content_type.yml
node.type.rest_example_test.yml modules/rest_example/config/install/node.type.rest_example_test.yml modules/rest_example/config/install/node.type.rest_example_test.yml
node.type.testing_example.yml modules/testing_example/config/install/node.type.testing_example.yml modules/testing_example/config/install/node.type.testing_example.yml
NodeTypeExampleController.php modules/node_type_example/src/Controller/NodeTypeExampleController.php Drupal\node_type_example\Controller
NodeTypeExampleTest.php modules/node_type_example/tests/src/Functional/NodeTypeExampleTest.php Drupal\Tests\node_type_example\Functional
node_type_example.info.yml modules/node_type_example/node_type_example.info.yml modules/node_type_example/node_type_example.info.yml
node_type_example.install modules/node_type_example/node_type_example.install Install file for node_type_example.
node_type_example.links.menu.yml modules/node_type_example/node_type_example.links.menu.yml modules/node_type_example/node_type_example.links.menu.yml
node_type_example.module modules/node_type_example/node_type_example.module Module file for node_type_example.
node_type_example.routing.yml modules/node_type_example/node_type_example.routing.yml modules/node_type_example/node_type_example.routing.yml
Page.php modules/form_api_example/src/Controller/Page.php Drupal\form_api_example\Controller
PageExampleController.php modules/page_example/src/Controller/PageExampleController.php Drupal\page_example\Controller
PageExampleTest.php modules/page_example/tests/src/Functional/PageExampleTest.php Drupal\Tests\page_example\Functional
PagerExamplePage.php modules/pager_example/src/Controller/PagerExamplePage.php Drupal\pager_example\Controller
PagerExampleTest.php modules/pager_example/tests/src/Functional/PagerExampleTest.php Drupal\Tests\pager_example\Functional
pager_example.info.yml modules/pager_example/pager_example.info.yml modules/pager_example/pager_example.info.yml

Other projects