Files - 4.0.x - examples

Title Deprecated File name Namespace Summary
EmailExampleGetFormPage.php modules/email_example/src/Form/EmailExampleGetFormPage.php Drupal\email_example\Form
EmailExampleTest.php modules/email_example/tests/src/Functional/EmailExampleTest.php Drupal\Tests\email_example\Functional
email_example.info.yml modules/email_example/email_example.info.yml modules/email_example/email_example.info.yml
email_example.links.menu.yml modules/email_example/email_example.links.menu.yml modules/email_example/email_example.links.menu.yml
email_example.module modules/email_example/email_example.module Example of how to use Drupal's mail API.
email_example.routing.yml modules/email_example/email_example.routing.yml modules/email_example/email_example.routing.yml
EntityAutocomplete.php modules/ajax_example/src/Form/EntityAutocomplete.php Drupal\ajax_example\Form
EntityAutocompleteTest.php modules/ajax_example/tests/src/FunctionalJavascript/EntityAutocompleteTest.php Drupal\Tests\ajax_example\FunctionalJavascript
EventsExampleForm.php modules/events_example/src/Form/EventsExampleForm.php Drupal\events_example\Form
EventsExampleServiceTest.php modules/events_example/tests/src/Kernel/EventsExampleServiceTest.php Drupal\Tests\events_example\Kernel
EventsExampleSubscriber.php modules/events_example/src/EventSubscriber/EventsExampleSubscriber.php Drupal\events_example\EventSubscriber
EventsExampleTest.php modules/events_example/tests/src/Functional/EventsExampleTest.php Drupal\Tests\events_example\Functional
events_example.info.yml modules/events_example/events_example.info.yml modules/events_example/events_example.info.yml
events_example.links.menu.yml modules/events_example/events_example.links.menu.yml modules/events_example/events_example.links.menu.yml
events_example.module modules/events_example/events_example.module Demonstrates how to subscribe to and dispatch events.
events_example.routing.yml modules/events_example/events_example.routing.yml modules/events_example/events_example.routing.yml
events_example.services.yml modules/events_example/events_example.services.yml modules/events_example/events_example.services.yml
ExampleConfigurableTextBlock.php modules/block_example/src/Plugin/Block/ExampleConfigurableTextBlock.php Drupal\block_example\Plugin\Block
ExampleEmptyBlock.php modules/block_example/src/Plugin/Block/ExampleEmptyBlock.php Drupal\block_example\Plugin\Block
ExampleFixtureManagementTest.php modules/testing_example/tests/src/Kernel/ExampleFixtureManagementTest.php Drupal\Tests\testing_example\Kernel
ExampleFunctionalTest.php modules/testing_example/tests/src/Functional/ExampleFunctionalTest.php Drupal\Tests\testing_example\Functional
ExampleHamSandwich.php modules/plugin_type_example/src/Plugin/Sandwich/ExampleHamSandwich.php Drupal\plugin_type_example\Plugin\Sandwich
ExampleMeatballSandwich.php modules/plugin_type_example/src/Plugin/Sandwich/ExampleMeatballSandwich.php Drupal\plugin_type_example\Plugin\Sandwich
examples.icons.css css/examples.icons.css Styling for the Example module icons.
examples.info.yml ./examples.info.yml examples.info.yml
examples.libraries.yml ./examples.libraries.yml examples.libraries.yml
examples.module ./examples.module Module file for Examples for Developers.
ExamplesBrowserTestBase.php tests/src/Functional/ExamplesBrowserTestBase.php Drupal\Tests\examples\Functional
ExamplesTest.php tests/src/Functional/ExamplesTest.php Drupal\Tests\examples\Functional
examples_description_test.info.yml tests/modules/examples_description_test/examples_description_test.info.yml tests/modules/examples_description_test/examples_description_test.info.yml
examples_description_test.routing.yml tests/modules/examples_description_test/examples_description_test.routing.yml tests/modules/examples_description_test/examples_description_test.routing.yml
examples_no_module_test.routing.yml tests/modules/examples_no_module_test/examples_no_module_test.routing.yml tests/modules/examples_no_module_test/examples_no_module_test.routing.yml
ExampleUppercaseBlock.php modules/block_example/src/Plugin/Block/ExampleUppercaseBlock.php Drupal\block_example\Plugin\Block
example_no_config_files_test.yml tests/modules/examples_no_config_files_test/config/schema/example_no_config_files_test.yml tests/modules/examples_no_config_files_test/config/schema/example_no_config_files_test.yml
example_no_config_files_test.yml tests/modules/examples_no_config_files_test/config/example_no_config_files_test.yml tests/modules/examples_no_config_files_test/config/example_no_config_files_test.yml
example_no_config_files_test.yml tests/modules/examples_no_config_files_test/config/backup/example_no_config_files_test.yml tests/modules/examples_no_config_files_test/config/backup/example_no_config_files_test.yml
FapiExampleTest.php modules/form_api_example/tests/src/Functional/FapiExampleTest.php Drupal\Tests\form_api_example\Functional
field-permission-description.css modules/field_permission_example/css/field-permission-description.css /** * Field Permissions Example CSS */
field.field.node.basic_content_type.body.yml modules/node_type_example/config/install/field.field.node.basic_content_type.body.yml modules/node_type_example/config/install/field.field.node.basic_content_type.body.yml
field.field.node.locked_content_type.body.yml modules/node_type_example/config/install/field.field.node.locked_content_type.body.yml modules/node_type_example/config/install/field.field.node.locked_content_type.body.yml
field.field.node.testing_example.body.yml modules/testing_example/config/install/field.field.node.testing_example.body.yml modules/testing_example/config/install/field.field.node.testing_example.body.yml
FieldExampleBrowserTestBase.php modules/field_example/tests/src/Functional/FieldExampleBrowserTestBase.php Drupal\Tests\field_example\Functional
FieldExampleController.php modules/field_example/src/Controller/FieldExampleController.php Drupal\field_example\Controller
FieldExampleMenuTest.php modules/field_example/tests/src/Functional/FieldExampleMenuTest.php Drupal\Tests\field_example\Functional
FieldNote.php modules/field_permission_example/src/Plugin/Field/FieldType/FieldNote.php Drupal\field_permission_example\Plugin\Field\FieldType
FieldNoteItemTest.php modules/field_permission_example/tests/src/Kernel/FieldNoteItemTest.php Drupal\Tests\field_permission_example\Kernel
FieldPermissionExampleController.php modules/field_permission_example/src/Controller/FieldPermissionExampleController.php Drupal\field_permission_example\Controller
field_example.info.yml modules/field_example/field_example.info.yml modules/field_example/field_example.info.yml
field_example.libraries.yml modules/field_example/field_example.libraries.yml modules/field_example/field_example.libraries.yml
field_example.links.menu.yml modules/field_example/field_example.links.menu.yml modules/field_example/field_example.links.menu.yml

Other projects