Files - 4.0.x - examples

Primary tabs

Title Deprecated File name Namespace Summary
testing_example.permissions.yml modules/testing_example/testing_example.permissions.yml modules/testing_example/testing_example.permissions.yml
testing_example.routing.yml modules/testing_example/testing_example.routing.yml modules/testing_example/testing_example.routing.yml
testing_example_test.info.yml modules/testing_example/tests/modules/testing_example_test/testing_example_test.info.yml modules/testing_example/tests/modules/testing_example_test/testing_example_test.info.yml
testing_example_test.module modules/testing_example/tests/modules/testing_example_test/testing_example_test.module Implements testing_example_test module.
Text3Widget.php modules/field_example/src/Plugin/Field/FieldWidget/Text3Widget.php Drupal\field_example\Plugin\Field\FieldWidget
Text3WidgetTest.php modules/field_example/tests/src/Functional/Text3WidgetTest.php Drupal\Tests\field_example\Functional
TextForm.php modules/theming_example/src/Form/TextForm.php Drupal\theming_example\Form
TextWidget.php modules/field_permission_example/src/Plugin/Field/FieldWidget/TextWidget.php Drupal\field_permission_example\Plugin\Field\FieldWidget
TextWidget.php modules/field_example/src/Plugin/Field/FieldWidget/TextWidget.php Drupal\field_example\Plugin\Field\FieldWidget
TextWidgetTest.php modules/field_example/tests/src/Functional/TextWidgetTest.php Drupal\Tests\field_example\Functional
theming-example-content-array.html.twig modules/theming_example/templates/theming-example-content-array.html.twig Theme a simple content array.
theming-example-list.html.twig modules/theming_example/templates/theming-example-list.html.twig <h2>{{ title }}</h2> <ol class="theming-example-list"> {% for item in items %} <li>{{ item }}</li> {% endfor %} </ol>
theming-example-text-form.html.twig modules/theming_example/templates/theming-example-text-form.html.twig Template file for the theming example text form.
ThemingExampleTest.php modules/theming_example/tests/src/Functional/ThemingExampleTest.php Drupal\Tests\theming_example\Functional
ThemingPageController.php modules/theming_example/src/Controller/ThemingPageController.php Drupal\theming_example\Controller
theming_example.css modules/theming_example/css/theming_example.css /* * style the list * for OL you can have * decimal | lower-roman | upper-roman | lower-alpha | upper-alpha * for UL you can have * disc | circle | square or an image eg url(x.png) * you can also have 'none' */ .theming-example-list…
theming_example.info.yml modules/theming_example/theming_example.info.yml modules/theming_example/theming_example.info.yml
theming_example.libraries.yml modules/theming_example/theming_example.libraries.yml modules/theming_example/theming_example.libraries.yml
theming_example.module modules/theming_example/theming_example.module Explains how a module declares theme functions, preprocess functions, and templates.
theming_example.routing.yml modules/theming_example/theming_example.routing.yml modules/theming_example/theming_example.routing.yml
tour.tour.tour-example.yml modules/tour_example/config/install/tour.tour.tour-example.yml modules/tour_example/config/install/tour.tour.tour-example.yml
TourExampleController.php modules/tour_example/src/Controller/TourExampleController.php Drupal\tour_example\Controller
TourExampleTest.php modules/tour_example/tests/src/Functional/TourExampleTest.php Drupal\Tests\tour_example\Functional
tour_example.info.yml modules/tour_example/tour_example.info.yml modules/tour_example/tour_example.info.yml
tour_example.links.menu.yml modules/tour_example/tour_example.links.menu.yml modules/tour_example/tour_example.links.menu.yml
tour_example.module modules/tour_example/tour_example.module Module file for tour_example.
tour_example.routing.yml modules/tour_example/tour_example.routing.yml modules/tour_example/tour_example.routing.yml
VerticalTabsDemo.php modules/form_api_example/src/Form/VerticalTabsDemo.php Drupal\form_api_example\Form
views.view.rest_service.yml modules/rest_example/config/install/views.view.rest_service.yml modules/rest_example/config/install/views.view.rest_service.yml
Wizard.php modules/ajax_example/src/Form/Wizard.php Drupal\ajax_example\Form
YamlValidationTest.php tests/src/Unit/YamlValidationTest.php Drupal\Tests\examples\Unit

Other projects