Files - 3.x - examples

Title Deprecated File name Namespace Summary
config_entity_example.info.yml modules/config_entity_example/config_entity_example.info.yml modules/config_entity_example/config_entity_example.info.yml
config_entity_example.links.action.yml modules/config_entity_example/config_entity_example.links.action.yml modules/config_entity_example/config_entity_example.links.action.yml
config_entity_example.links.menu.yml modules/config_entity_example/config_entity_example.links.menu.yml modules/config_entity_example/config_entity_example.links.menu.yml
config_entity_example.module modules/config_entity_example/config_entity_example.module Demonstrates how to define a new configuration entity type.
config_entity_example.permissions.yml modules/config_entity_example/config_entity_example.permissions.yml modules/config_entity_example/config_entity_example.permissions.yml
config_entity_example.robot.marvin.yml modules/config_entity_example/config/install/config_entity_example.robot.marvin.yml modules/config_entity_example/config/install/config_entity_example.robot.marvin.yml
config_entity_example.routing.yml modules/config_entity_example/config_entity_example.routing.yml modules/config_entity_example/config_entity_example.routing.yml
config_entity_example.schema.yml modules/config_entity_example/config/schema/config_entity_example.schema.yml modules/config_entity_example/config/schema/config_entity_example.schema.yml
Contact.php modules/content_entity_example/src/Entity/Contact.php Drupal\content_entity_example\Entity
ContactAccessControlHandler.php modules/content_entity_example/src/ContactAccessControlHandler.php Drupal\content_entity_example
ContactDeleteForm.php modules/content_entity_example/src/Form/ContactDeleteForm.php Drupal\content_entity_example\Form
ContactForm.php modules/content_entity_example/src/Form/ContactForm.php Drupal\content_entity_example\Form
ContactInterface.php modules/content_entity_example/src/ContactInterface.php Drupal\content_entity_example
ContactListBuilder.php modules/content_entity_example/src/Entity/Controller/ContactListBuilder.php Drupal\content_entity_example\Entity\Controller
ContactSettingsForm.php modules/content_entity_example/src/Form/ContactSettingsForm.php Drupal\content_entity_example\Form
ContactTest.php modules/content_entity_example/tests/src/Kernel/ContactTest.php Drupal\Tests\content_entity_example\Kernel
ContainerDemo.php modules/form_api_example/src/Form/ContainerDemo.php Drupal\form_api_example\Form
ContentEntityExampleTest.php modules/content_entity_example/tests/src/Functional/ContentEntityExampleTest.php Drupal\Tests\content_entity_example\Functional
content_entity_example.info.yml modules/content_entity_example/content_entity_example.info.yml modules/content_entity_example/content_entity_example.info.yml
content_entity_example.links.action.yml modules/content_entity_example/content_entity_example.links.action.yml modules/content_entity_example/content_entity_example.links.action.yml
content_entity_example.links.menu.yml modules/content_entity_example/content_entity_example.links.menu.yml modules/content_entity_example/content_entity_example.links.menu.yml
content_entity_example.links.task.yml modules/content_entity_example/content_entity_example.links.task.yml modules/content_entity_example/content_entity_example.links.task.yml
content_entity_example.module modules/content_entity_example/content_entity_example.module Contains Drupal\content_entity_example\content_entity_example.module.
content_entity_example.permissions.yml modules/content_entity_example/content_entity_example.permissions.yml modules/content_entity_example/content_entity_example.permissions.yml
content_entity_example.routing.yml modules/content_entity_example/content_entity_example.routing.yml modules/content_entity_example/content_entity_example.routing.yml
ContrivedController.php modules/testing_example/src/Controller/ContrivedController.php Drupal\testing_example\Controller
ContrivedControllerTest.php modules/testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php Drupal\Tests\testing_example\Unit\Controller
core.entity_form_display.node.basic_content_type.default.yml modules/node_type_example/config/install/core.entity_form_display.node.basic_content_type.default.yml modules/node_type_example/config/install/core.entity_form_display.node.basic_content_type.default.yml
core.entity_form_display.node.locked_content_type.default.yml modules/node_type_example/config/install/core.entity_form_display.node.locked_content_type.default.yml modules/node_type_example/config/install/core.entity_form_display.node.locked_content_type.default.yml
core.entity_form_display.node.testing_example.default.yml modules/testing_example/config/install/core.entity_form_display.node.testing_example.default.yml modules/testing_example/config/install/core.entity_form_display.node.testing_example.default.yml
core.entity_view_display.node.basic_content_type.default.yml modules/node_type_example/config/install/core.entity_view_display.node.basic_content_type.default.yml modules/node_type_example/config/install/core.entity_view_display.node.basic_content_type.default.yml
core.entity_view_display.node.locked_content_type.default.yml modules/node_type_example/config/install/core.entity_view_display.node.locked_content_type.default.yml modules/node_type_example/config/install/core.entity_view_display.node.locked_content_type.default.yml
CronExampleForm.php modules/cron_example/src/Form/CronExampleForm.php Drupal\cron_example\Form
CronExampleTest.php modules/cron_example/tests/src/Functional/CronExampleTest.php Drupal\Tests\cron_example\Functional
cron_example.info.yml modules/cron_example/cron_example.info.yml modules/cron_example/cron_example.info.yml
cron_example.links.menu.yml modules/cron_example/cron_example.links.menu.yml modules/cron_example/cron_example.links.menu.yml
cron_example.module modules/cron_example/cron_example.module Demonstrates use of the Cron API in Drupal - hook_cron().
cron_example.routing.yml modules/cron_example/cron_example.routing.yml modules/cron_example/cron_example.routing.yml
cron_example.schema.yml modules/cron_example/config/schema/cron_example.schema.yml modules/cron_example/config/schema/cron_example.schema.yml
cron_example.settings.yml modules/cron_example/config/install/cron_example.settings.yml modules/cron_example/config/install/cron_example.settings.yml
DbtngExampleAddForm.php modules/dbtng_example/src/Form/DbtngExampleAddForm.php Drupal\dbtng_example\Form
DbtngExampleController.php modules/dbtng_example/src/Controller/DbtngExampleController.php Drupal\dbtng_example\Controller
DbtngExampleRepository.php modules/dbtng_example/src/DbtngExampleRepository.php Drupal\dbtng_example
DbtngExampleRepositoryTest.php modules/dbtng_example/tests/src/Kernel/DbtngExampleRepositoryTest.php Drupal\Tests\dbtng_example\Kernel
DbtngExampleTest.php modules/dbtng_example/tests/src/Functional/DbtngExampleTest.php Drupal\Tests\dbtng_example\Functional
DbtngExampleUpdateForm.php modules/dbtng_example/src/Form/DbtngExampleUpdateForm.php Drupal\dbtng_example\Form
dbtng_example.info.yml modules/dbtng_example/dbtng_example.info.yml modules/dbtng_example/dbtng_example.info.yml
dbtng_example.install modules/dbtng_example/dbtng_example.install Install, update and uninstall functions for the dbtng_example module.
dbtng_example.links.menu.yml modules/dbtng_example/dbtng_example.links.menu.yml modules/dbtng_example/dbtng_example.links.menu.yml
dbtng_example.module modules/dbtng_example/dbtng_example.module This is an example outlining how a module can use the DBTNG database API.

Other projects