AddClass |
class |
Drupal\phpunit_example |
phpunit_example/src/AddClass.php |
A class with features to show how to do unit testing. |
|
1 |
|
AddClassTest |
class |
Drupal\Tests\phpunit_example\Unit |
phpunit_example/tests/src/Unit/AddClassTest.php |
AddClass units tests. |
|
|
|
AjaxAddMore |
class |
Drupal\form_api_example\Form |
form_api_example/src/Form/AjaxAddMore.php |
Implements the ajax demo form controller. |
|
|
1 |
AjaxColorForm |
class |
Drupal\form_api_example\Form |
form_api_example/src/Form/AjaxColorForm.php |
Implements the ajax demo form controller. |
|
|
1 |
AjaxColorFormTest |
class |
Drupal\Tests\form_api_example\FunctionalJavascript |
form_api_example/tests/src/FunctionalJavascript/AjaxColorFormTest.php |
@group form_api_example |
|
|
|
AjaxExampleController |
class |
Drupal\ajax_example\Controller |
ajax_example/src/Controller/AjaxExampleController.php |
Controller routines for AJAX example routes. |
|
|
|
AjaxExampleMenuTest |
class |
Drupal\Tests\ajax_example\Functional |
ajax_example/tests/src/Functional/AjaxExampleMenuTest.php |
Verify tool block menu items and operability of all our routes. |
|
|
|
AjaxWizardTest |
class |
Drupal\Tests\ajax_example\FunctionalJavascript |
ajax_example/tests/src/FunctionalJavascript/AjaxWizardTest.php |
Test the user interactions for the Ajax Wizard example. |
|
|
|
Autotextfields |
class |
Drupal\ajax_example\Form |
ajax_example/src/Form/Autotextfields.php |
Show textfields based on AJAX-enabled checkbox clicks. |
|
|
1 |
AutotextfieldsTest |
class |
Drupal\Tests\ajax_example\FunctionalJavascript |
ajax_example/tests/src/FunctionalJavascript/AutotextfieldsTest.php |
Test the user interactions for the Autotextfields example. |
|
|
|
BatchExampleForm |
class |
Drupal\batch_example\Form |
batch_example/src/Form/BatchExampleForm.php |
Form with examples on how to use cache. |
|
|
1 |
BatchExampleWebTest |
class |
Drupal\Tests\batch_example\Functional |
batch_example/tests/src/Functional/BatchExampleWebTest.php |
Functional tests for the Batch Example module. |
|
|
|
BlockExampleController |
class |
Drupal\block_example\Controller |
block_example/src/Controller/BlockExampleController.php |
Controller routines for block example routes. |
|
|
|
BlockExampleMenuTest |
class |
Drupal\Tests\block_example\Functional |
block_example/tests/src/Functional/BlockExampleMenuTest.php |
Test the user-facing menus in Block Example. |
|
|
|
BlockExampleTest |
class |
Drupal\Tests\block_example\Functional |
block_example/tests/src/Functional/BlockExampleTest.php |
Test the configuration options and block created by Block Example module. |
|
|
|
BuildDemo |
class |
Drupal\form_api_example\Form |
form_api_example/src/Form/BuildDemo.php |
Implements the build demo form controller. |
|
|
1 |
CacheExampleForm |
class |
Drupal\cache_example\Form |
cache_example/src/Form/CacheExampleForm.php |
Form with examples on how to use cache. |
|
|
1 |
CacheExampleTest |
class |
Drupal\Tests\cache_example\Functional |
cache_example/tests/src/Functional/CacheExampleTest.php |
Tests for the cache_example module. |
|
|
|
ColorBackgroudFormatter |
class |
Drupal\field_example\Plugin\Field\FieldFormatter |
field_example/src/Plugin/Field/FieldFormatter/ColorBackgroudFormatter.php |
Plugin implementation of the 'field_example_color_background' formatter. |
|
|
|
ColorBackgroundFormatterTest |
class |
Drupal\Tests\field_example\Functional |
field_example/tests/src/Functional/ColorBackgroundFormatterTest.php |
Test the basic functionality of Color background formatter. |
|
|
|
ColorPickerWidget |
class |
Drupal\field_example\Plugin\Field\FieldWidget |
field_example/src/Plugin/Field/FieldWidget/ColorPickerWidget.php |
Plugin implementation of the 'field_example_colorpicker' widget. |
|
|
|
ColorPickerWidgetTest |
class |
Drupal\Tests\field_example\Functional |
field_example/tests/src/Functional/ColorPickerWidgetTest.php |
Test the basic functionality of Color Picker Widget. |
|
|
|
ConfigEntityExampleTest |
class |
Drupal\Tests\config_entity_example\Functional |
config_entity_example/tests/src/Functional/ConfigEntityExampleTest.php |
Test the Config Entity Example module. |
|
|
|
Contact |
class |
Drupal\content_entity_example\Entity |
content_entity_example/src/Entity/Contact.php |
Defines the ContentEntityExample entity. |
|
2 |
|
ContactAccessControlHandler |
class |
Drupal\content_entity_example |
content_entity_example/src/ContactAccessControlHandler.php |
Access controller for the contact entity. |
|
|
|
ContactDeleteForm |
class |
Drupal\content_entity_example\Form |
content_entity_example/src/Form/ContactDeleteForm.php |
Provides a form for deleting a content_entity_example entity. |
|
|
|
ContactForm |
class |
Drupal\content_entity_example\Form |
content_entity_example/src/Form/ContactForm.php |
Form controller for the content_entity_example entity edit forms. |
|
|
|
ContactInterface |
interface |
Drupal\content_entity_example |
content_entity_example/src/ContactInterface.php |
Provides an interface defining a Contact entity. |
1 |
1 |
|
ContactListBuilder |
class |
Drupal\content_entity_example\Entity\Controller |
content_entity_example/src/Entity/Controller/ContactListBuilder.php |
Provides a list controller for content_entity_example entity. |
|
|
|
ContactSettingsForm |
class |
Drupal\content_entity_example\Form |
content_entity_example/src/Form/ContactSettingsForm.php |
Class ContentEntityExampleSettingsForm. |
|
|
1 |
ContactTest |
class |
Drupal\Tests\content_entity_example\Kernel |
content_entity_example/tests/src/Kernel/ContactTest.php |
Test basic CRUD operations for our Contact entity type. |
|
|
|
ContainerDemo |
class |
Drupal\form_api_example\Form |
form_api_example/src/Form/ContainerDemo.php |
Implements the container demo form. |
|
|
1 |
ContentEntityExampleTest |
class |
Drupal\Tests\content_entity_example\Functional |
content_entity_example/tests/src/Functional/ContentEntityExampleTest.php |
Tests the basic functions of the Content Entity Example module. |
|
|
|
ContrivedController |
class |
Drupal\testing_example\Controller |
testing_example/src/Controller/ContrivedController.php |
A highly-contrived controller class used to demonstrate unit testing. |
|
1 |
|
ContrivedControllerTest |
class |
Drupal\Tests\testing_example\Unit\Controller |
testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php |
The class to test ContrivedController. |
|
|
|
CronExampleForm |
class |
Drupal\cron_example\Form |
cron_example/src/Form/CronExampleForm.php |
Form with examples on how to use cron. |
|
|
1 |
CronExampleTest |
class |
Drupal\Tests\cron_example\Functional |
cron_example/tests/src/Functional/CronExampleTest.php |
Test the functionality for the Cron Example. |
|
|
|
DbtngExampleAddForm |
class |
Drupal\dbtng_example\Form |
dbtng_example/src/Form/DbtngExampleAddForm.php |
Form to add a database entry, with all the interesting fields. |
|
|
1 |
DbtngExampleController |
class |
Drupal\dbtng_example\Controller |
dbtng_example/src/Controller/DbtngExampleController.php |
Controller for DBTNG Example. |
|
|
|
DbtngExampleRepository |
class |
Drupal\dbtng_example |
dbtng_example/src/DbtngExampleRepository.php |
Repository for database-related helper methods for our example. |
|
3 |
2 |
DbtngExampleRepositoryTest |
class |
Drupal\Tests\dbtng_example\Kernel |
dbtng_example/tests/src/Kernel/DbtngExampleRepositoryTest.php |
Kernel testing of the DbtngExampleRepository service. |
|
|
|
DbtngExampleTest |
class |
Drupal\Tests\dbtng_example\Functional |
dbtng_example/tests/src/Functional/DbtngExampleTest.php |
Tests for the dbtng_example module. |
|
|
|
DbtngExampleUpdateForm |
class |
Drupal\dbtng_example\Form |
dbtng_example/src/Form/DbtngExampleUpdateForm.php |
Sample UI to update a record. |
|
|
1 |
DemoBase |
abstract class |
Drupal\form_api_example\Form |
form_api_example/src/Form/DemoBase.php |
Implements common submit handler used in form_api_example demo forms. |
5 |
|
|
DependentDropdown |
class |
Drupal\ajax_example\Form |
ajax_example/src/Form/DependentDropdown.php |
Re-populate a dropdown based on form state. |
|
|
1 |
DependentDropdownTest |
class |
Drupal\Tests\ajax_example\FunctionalJavascript |
ajax_example/tests/src/FunctionalJavascript/DependentDropdownTest.php |
Functional test of dependent dropdown example. |
|
|
|
DependentDropdownTest |
class |
Drupal\Tests\ajax_example\Functional |
ajax_example/tests/src/Functional/DependentDropdownTest.php |
Functional test of non-AJAX dependent dropdown example. |
|
|
|
DescriptionTemplateTrait |
trait |
Drupal\examples\Utility |
src/Utility/DescriptionTemplateTrait.php |
Trait to implement a "drop-in" template for Example's controllers. |
|
16 |
|
DescriptionTraitTest |
class |
Drupal\Tests\examples\Kernel |
tests/src/Kernel/DescriptionTraitTest.php |
Test of the Description Trait. |
|
|
|
DisplayInfoInterface |
interface |
Drupal\phpunit_example |
phpunit_example/src/DisplayInfoInterface.php |
An interface to objects that provide displayable information. |
|
1 |
|