Files - 4.0.x - examples

Primary tabs

Title Deprecated File name Namespace Summary
session_example.info.yml modules/session_example/session_example.info.yml modules/session_example/session_example.info.yml
session_example.links.menu.yml modules/session_example/session_example.links.menu.yml modules/session_example/session_example.links.menu.yml
session_example.links.task.yml modules/session_example/session_example.links.task.yml modules/session_example/session_example.links.task.yml
session_example.module modules/session_example/session_example.module Session example module demonstrates manipulating user sessions.
session_example.routing.yml modules/session_example/session_example.routing.yml modules/session_example/session_example.routing.yml
SimpleForm.php modules/form_api_example/src/Form/SimpleForm.php Drupal\form_api_example\Form
SimpleFormBlock.php modules/form_api_example/src/Plugin/Block/SimpleFormBlock.php Drupal\form_api_example\Plugin\Block
SimpleFormBlockTest.php modules/form_api_example/tests/src/Functional/SimpleFormBlockTest.php Drupal\Tests\form_api_example\Functional
Simplest.php modules/ajax_example/src/Form/Simplest.php Drupal\ajax_example\Form
SimplestTest.php modules/ajax_example/tests/src/FunctionalJavascript/SimplestTest.php Drupal\Tests\ajax_example\FunctionalJavascript
simpletest.description.html.twig modules/testing_example/templates/simpletest.description.html.twig {# Description text for the Simpletest Example. #} {% trans %} <p>Please note that the use of SimpleTest is deprecated. This example module will be removed in Drupal 9, and new tests should not be written using SimpleTest. In addition, all…
SimpleTextFormatter.php modules/field_permission_example/src/Plugin/Field/FieldFormatter/SimpleTextFormatter.php Drupal\field_permission_example\Plugin\Field\FieldFormatter
SimpleTextFormatter.php modules/field_example/src/Plugin/Field/FieldFormatter/SimpleTextFormatter.php Drupal\field_example\Plugin\Field\FieldFormatter
SkeletonTest.php modules/testing_example/tests/src/Functional/SkeletonTest.php Drupal\Tests\testing_example\Functional
StateDemo.php modules/form_api_example/src/Form/StateDemo.php Drupal\form_api_example\Form
StateDemoTest.php modules/form_api_example/tests/src/FunctionalJavascript/StateDemoTest.php Drupal\Tests\form_api_example\FunctionalJavascript
StreamWrapperExampleController.php modules/stream_wrapper_example/src/Controller/StreamWrapperExampleController.php Drupal\stream_wrapper_example\Controller
StreamWrapperExampleTest.php modules/stream_wrapper_example/tests/src/Functional/StreamWrapperExampleTest.php Drupal\Tests\stream_wrapper_example\Functional
StreamWrapperTest.php modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php Drupal\Tests\stream_wrapper_example\Kernel
stream_wrapper_example.info.yml modules/stream_wrapper_example/stream_wrapper_example.info.yml modules/stream_wrapper_example/stream_wrapper_example.info.yml
stream_wrapper_example.links.menu.yml modules/stream_wrapper_example/stream_wrapper_example.links.menu.yml modules/stream_wrapper_example/stream_wrapper_example.links.menu.yml
stream_wrapper_example.module modules/stream_wrapper_example/stream_wrapper_example.module Contains the module file for the Stream Wrapper Example.
stream_wrapper_example.routing.yml modules/stream_wrapper_example/stream_wrapper_example.routing.yml modules/stream_wrapper_example/stream_wrapper_example.routing.yml
stream_wrapper_example.services.yml modules/stream_wrapper_example/stream_wrapper_example.services.yml modules/stream_wrapper_example/stream_wrapper_example.services.yml
SubmitDriven.php modules/ajax_example/src/Form/SubmitDriven.php Drupal\ajax_example\Form
SubmitDrivenTest.php modules/ajax_example/tests/src/FunctionalJavascript/SubmitDrivenTest.php Drupal\Tests\ajax_example\FunctionalJavascript
system.action.action_example_basic_action.yml modules/action_example/config/install/system.action.action_example_basic_action.yml modules/action_example/config/install/system.action.action_example_basic_action.yml
TableDragExampleController.php modules/tabledrag_example/src/Controller/TableDragExampleController.php Drupal\tabledrag_example\Controller
TableDragExampleNestedForm.php modules/tabledrag_example/src/Form/TableDragExampleNestedForm.php Drupal\tabledrag_example\Form
TableDragExampleResetForm.php modules/tabledrag_example/src/Form/TableDragExampleResetForm.php Drupal\tabledrag_example\Form
TableDragExampleRootLeafForm.php modules/tabledrag_example/src/Form/TableDragExampleRootLeafForm.php Drupal\tabledrag_example\Form
TableDragExampleSimpleForm.php modules/tabledrag_example/src/Form/TableDragExampleSimpleForm.php Drupal\tabledrag_example\Form
TabledragMenuTest.php modules/tabledrag_example/tests/src/Functional/TabledragMenuTest.php Drupal\Tests\tabledrag_example\Functional
tabledrag_example.info.yml modules/tabledrag_example/tabledrag_example.info.yml modules/tabledrag_example/tabledrag_example.info.yml
tabledrag_example.install modules/tabledrag_example/tabledrag_example.install Install and uninstall functions for the tabledrag example module.
tabledrag_example.links.menu.yml modules/tabledrag_example/tabledrag_example.links.menu.yml modules/tabledrag_example/tabledrag_example.links.menu.yml
tabledrag_example.module modules/tabledrag_example/tabledrag_example.module Module file for tabledrag_example module.
tabledrag_example.routing.yml modules/tabledrag_example/tabledrag_example.routing.yml modules/tabledrag_example/tabledrag_example.routing.yml
TableSortExampleController.php modules/tablesort_example/src/Controller/TableSortExampleController.php Drupal\tablesort_example\Controller
TableSortExampleTest.php modules/tablesort_example/tests/src/Functional/TableSortExampleTest.php Drupal\Tests\tablesort_example\Functional
tablesort_example.info.yml modules/tablesort_example/tablesort_example.info.yml modules/tablesort_example/tablesort_example.info.yml
tablesort_example.install modules/tablesort_example/tablesort_example.install Install and uninstall functions for the tablesort_example module.
tablesort_example.links.menu.yml modules/tablesort_example/tablesort_example.links.menu.yml modules/tablesort_example/tablesort_example.links.menu.yml
tablesort_example.module modules/tablesort_example/tablesort_example.module Module file for tablesort_example.
tablesort_example.routing.yml modules/tablesort_example/tablesort_example.routing.yml modules/tablesort_example/tablesort_example.routing.yml
TestingExampleController.php modules/testing_example/src/Controller/TestingExampleController.php Drupal\testing_example\Controller
TestingExampleMenuTest.php modules/testing_example/tests/src/Functional/TestingExampleMenuTest.php Drupal\Tests\testing_example\Functional
testing_example.info.yml modules/testing_example/testing_example.info.yml modules/testing_example/testing_example.info.yml
testing_example.links.menu.yml modules/testing_example/testing_example.links.menu.yml modules/testing_example/testing_example.links.menu.yml
testing_example.module modules/testing_example/testing_example.module Module file for testing_example.

Other projects