Search for example

  1. Search 7.x for example
  2. Search 9.5.x for example
  3. Search 8.9.x for example
  4. Search 10.3.x for example
  5. Search main for example
  6. Other projects
Title Object type File name Summary
BasicControllerClass::exampleControllerMethod function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerMethodWithArgument function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityNoUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityUnionType function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
ConsoleExampleCommand class core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleCommand.php An example command.
ConsoleExampleCommand.php file core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleCommand.php
ConsoleExampleCommand::configure function core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleCommand.php
ConsoleExampleCommand::execute function core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleCommand.php
ConsoleExampleCommand::__construct function core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleCommand.php Constructs a command with autowiring.
ConsoleExampleConfigureCommand class core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleConfigureCommand.php An example command using configure() instead of the AsCommand attribute.
ConsoleExampleConfigureCommand.php file core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleConfigureCommand.php
ConsoleExampleConfigureCommand::configure function core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleConfigureCommand.php
ConsoleExampleConfigureCommand::execute function core/modules/system/tests/modules/console_test/src/Command/ConsoleExampleConfigureCommand.php
ConsoleExamplePrivateCommand class core/modules/system/tests/modules/console_test/src/Command/ConsoleExamplePrivateCommand.php An example private command.
ConsoleExamplePrivateCommand.php file core/modules/system/tests/modules/console_test/src/Command/ConsoleExamplePrivateCommand.php
ConsoleExamplePrivateCommand::execute function core/modules/system/tests/modules/console_test/src/Command/ConsoleExamplePrivateCommand.php
ConsoleExamplePrivateCommand::getName function core/modules/system/tests/modules/console_test/src/Command/ConsoleExamplePrivateCommand.php
ConsoleSubExampleCommand class core/modules/system/tests/modules/console_test/src/Command/Sub/ConsoleSubExampleCommand.php An example command in a subdirectory.
ConsoleSubExampleCommand.php file core/modules/system/tests/modules/console_test/src/Command/Sub/ConsoleSubExampleCommand.php
ConsoleSubExampleCommand::execute function core/modules/system/tests/modules/console_test/src/Command/Sub/ConsoleSubExampleCommand.php
CustomDirectoryExample1 class core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php Provides a test plugin within a custom directory.
CustomDirectoryExample1.php file core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php
CustomDirectoryExample2 class core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php Provides a test plugin within a custom directory.
CustomDirectoryExample2.php file core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php
Drupal\console_test\Command\ConsoleExampleConfigureCommand service core/modules/system/tests/modules/console_test/console_test.services.yml
Drupal\console_test\Command\ConsoleExamplePrivateCommand service core/modules/system/tests/modules/console_test/console_test.services.yml
example.info.yml file core/modules/package_manager/tests/fixtures/fake_site/modules/example/example.info.yml core/modules/package_manager/tests/fixtures/fake_site/modules/example/example.info.yml
example.settings.local.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/example.settings.local.php Test version of example.settings.local.php from drupal/core.
example.settings.local.php file core/assets/scaffold/files/example.settings.local.php Local development override configuration feature.
example.settings.local.php file sites/example.settings.local.php Local development override configuration feature.
example.sites.php file core/assets/scaffold/files/example.sites.php Configuration file for multi-site support and directory aliasing feature.
example.sites.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/example.sites.php Test version of example.sites.php from drupal/core.
example.sites.php file sites/example.sites.php Configuration file for multi-site support and directory aliasing feature.
Example1 class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example1.php Provides a test plugin with a custom annotation.
Example1.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example1.php
Example2 class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php Provides a test plugin with a custom annotation.
Example2.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php
Example3 class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example3.php Provides a test plugin with a custom attribute.
Example3.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example3.php
Example4 class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example4.php Provides a test plugin with a custom attribute.
Example4.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example4.php
Example5 class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example5.php Provides a test plugin with a custom attribute.
Example5.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example5.php
ExampleAttribute class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ExtraAttributes/ExampleAttribute.php #[\Attribute]
ExampleAttribute.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ExtraAttributes/ExampleAttribute.php
ExampleParentAttribute class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ExtraAttributes/ExampleParentAttribute.php #[\Attribute]
ExampleParentAttribute.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ExtraAttributes/ExampleParentAttribute.php
ExampleRenderable class core/modules/system/tests/modules/twig_theme_test/src/ExampleRenderable.php Provides an example implementation of the RenderableInterface.
ExampleRenderable.php file core/modules/system/tests/modules/twig_theme_test/src/ExampleRenderable.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.