Files - 3.x - examples

Primary tabs

Title Deprecated File name Namespace Summary
RestExampleActionTest.php modules/rest_example/tests/src/Functional/RestExampleActionTest.php Drupal\Tests\rest_example\Funtional
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\Funtional
RestExampleSettingsTest.php modules/rest_example/tests/src/Functional/RestExampleSettingsTest.php Drupal\Tests\rest_example\Funtional
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
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
RobotAccessController.php modules/config_entity_example/src/RobotAccessController.php Drupal\config_entity_example
RobotAddForm.php modules/config_entity_example/src/Form/RobotAddForm.php Drupal\config_entity_example\Form
RobotDeleteForm.php modules/config_entity_example/src/Form/RobotDeleteForm.php Drupal\config_entity_example\Form
RobotEditForm.php modules/config_entity_example/src/Form/RobotEditForm.php Drupal\config_entity_example\Form
RobotFormBase.php modules/config_entity_example/src/Form/RobotFormBase.php Drupal\config_entity_example\Form
RobotListBuilder.php modules/config_entity_example/src/Controller/RobotListBuilder.php Drupal\config_entity_example\Controller
RobotReferenceTest.php modules/config_entity_example/tests/src/Functional/RobotReferenceTest.php Drupal\Tests\config_entity_example\Functional
RoleAccessCheck.php modules/menu_example/src/Access/RoleAccessCheck.php Drupal\menu_example\Access
RoutePathTest.php tests/src/Unit/RoutePathTest.php Drupal\Tests\examples\Unit
RouteSubscriber.php modules/menu_example/src/Routing/RouteSubscriber.php Drupal\menu_example\Routing
SampleExampleController.php tests/modules/examples_description_test/src/Controller/SampleExampleController.php Drupal\examples_description_test\Controller
Sandwich.php modules/plugin_type_example/src/Annotation/Sandwich.php Drupal\plugin_type_example\Annotation
SandwichBase.php modules/plugin_type_example/src/SandwichBase.php Drupal\plugin_type_example
SandwichInterface.php modules/plugin_type_example/src/SandwichInterface.php Drupal\plugin_type_example
SandwichPluginManager.php modules/plugin_type_example/src/SandwichPluginManager.php Drupal\plugin_type_example
SelectForm.php modules/theming_example/src/Form/SelectForm.php Drupal\theming_example\Form
SessionExampleController.php modules/session_example/src/Controller/SessionExampleController.php Drupal\session_example\Controller
SessionExampleForm.php modules/session_example/src/Form/SessionExampleForm.php Drupal\session_example\Form
SessionExampleTest.php modules/session_example/tests/src/Functional/SessionExampleTest.php Drupal\Tests\session_example\Functional
SessionHelper.php modules/stream_wrapper_example/src/SessionHelper.php Drupal\stream_wrapper_example
SessionHelperTest.php modules/stream_wrapper_example/tests/src/Unit/SessionHelperTest.php Drupal\Tests\stream_wrapper_example\Unit
SessionStreamWrapper.php modules/stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php Drupal\stream_wrapper_example\StreamWrapper
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…

Other projects