You are here

Files in Examples for Developers 8

Primary tabs

File namesort descending Location Namespace Description
accordion.css js_example/css/accordion.css .accordionWrapper { background: #fff; float: left; width: 80%; box-sizing: border-box; box-shadow: 0 1.5em 85px 0 rgba(0, 0, 0, 0.2); } .accordionItem { float: left; display: block; width: 100%; box-sizing: border-box; font-family:…
accordion.html.twig js_example/templates/accordion.html.twig Template file for js_example module.
AddClass.php phpunit_example/src/AddClass.php Drupal\phpunit_example
AddClassTest.php phpunit_example/tests/src/Unit/AddClassTest.php Drupal\Tests\phpunit_example\Unit
ajax-example-base.css ajax_example/css/ajax-example-base.css /* * @file * CSS for ajax_example. */ /* Put some buttons inline, for nicer formatting. */ .ajax-example-inline { display: inline-block; }
AjaxAddMore.php form_api_example/src/Form/AjaxAddMore.php Drupal\form_api_example\Form
AjaxColorForm.php form_api_example/src/Form/AjaxColorForm.php Drupal\form_api_example\Form
AjaxColorFormTest.php form_api_example/tests/src/FunctionalJavascript/AjaxColorFormTest.php Drupal\Tests\form_api_example\FunctionalJavascript
AjaxExampleController.php ajax_example/src/Controller/AjaxExampleController.php Drupal\ajax_example\Controller
AjaxExampleMenuTest.php ajax_example/tests/src/Functional/AjaxExampleMenuTest.php Drupal\Tests\ajax_example\Functional
AjaxWizardTest.php ajax_example/tests/src/FunctionalJavascript/AjaxWizardTest.php Drupal\Tests\ajax_example\FunctionalJavascript
ajax_example.info.yml ajax_example/ajax_example.info.yml ajax_example/ajax_example.info.yml
ajax_example.libraries.yml ajax_example/ajax_example.libraries.yml ajax_example/ajax_example.libraries.yml
ajax_example.links.menu.yml ajax_example/ajax_example.links.menu.yml ajax_example/ajax_example.links.menu.yml
ajax_example.module ajax_example/ajax_example.module AJAX Examples module file with basic examples.
ajax_example.routing.yml ajax_example/ajax_example.routing.yml ajax_example/ajax_example.routing.yml
Autotextfields.php ajax_example/src/Form/Autotextfields.php Drupal\ajax_example\Form
AutotextfieldsTest.php ajax_example/tests/src/FunctionalJavascript/AutotextfieldsTest.php Drupal\Tests\ajax_example\FunctionalJavascript
BatchExampleForm.php batch_example/src/Form/BatchExampleForm.php Drupal\batch_example\Form
BatchExampleWebTest.php batch_example/tests/src/Functional/BatchExampleWebTest.php Drupal\Tests\batch_example\Functional
batch_example.info.yml batch_example/batch_example.info.yml batch_example/batch_example.info.yml
batch_example.install batch_example/batch_example.install Install, update, and uninstall functions for the batch_example module.
batch_example.links.menu.yml batch_example/batch_example.links.menu.yml batch_example/batch_example.links.menu.yml
batch_example.module batch_example/batch_example.module Outlines how a module can use the Batch API.
batch_example.routing.yml batch_example/batch_example.routing.yml batch_example/batch_example.routing.yml
BlockExampleController.php block_example/src/Controller/BlockExampleController.php Drupal\block_example\Controller
BlockExampleMenuTest.php block_example/tests/src/Functional/BlockExampleMenuTest.php Drupal\Tests\block_example\Functional
BlockExampleTest.php block_example/tests/src/Functional/BlockExampleTest.php Drupal\Tests\block_example\Functional
block_example.info.yml block_example/block_example.info.yml block_example/block_example.info.yml
block_example.links.menu.yml block_example/block_example.links.menu.yml block_example/block_example.links.menu.yml
block_example.module block_example/block_example.module Module file for block_example.
block_example.routing.yml block_example/block_example.routing.yml block_example/block_example.routing.yml
block_example.schema.yml block_example/config/schema/block_example.schema.yml block_example/config/schema/block_example.schema.yml
BuildDemo.php form_api_example/src/Form/BuildDemo.php Drupal\form_api_example\Form
CacheExampleForm.php cache_example/src/Form/CacheExampleForm.php Drupal\cache_example\Form
CacheExampleTest.php cache_example/tests/src/Functional/CacheExampleTest.php Drupal\Tests\cache_example\Functional
cache_example.info.yml cache_example/cache_example.info.yml cache_example/cache_example.info.yml
cache_example.links.menu.yml cache_example/cache_example.links.menu.yml cache_example/cache_example.links.menu.yml
cache_example.module cache_example/cache_example.module Demonstrates how a module can use the Cache API.
cache_example.routing.yml cache_example/cache_example.routing.yml cache_example/cache_example.routing.yml
ColorBackgroudFormatter.php field_example/src/Plugin/Field/FieldFormatter/ColorBackgroudFormatter.php Drupal\field_example\Plugin\Field\FieldFormatter
ColorBackgroundFormatterTest.php field_example/tests/src/Functional/ColorBackgroundFormatterTest.php Drupal\Tests\field_example\Functional
ColorPickerWidget.php field_example/src/Plugin/Field/FieldWidget/ColorPickerWidget.php Drupal\field_example\Plugin\Field\FieldWidget
ColorPickerWidgetTest.php field_example/tests/src/Functional/ColorPickerWidgetTest.php Drupal\Tests\field_example\Functional
ConfigEntityExampleTest.php config_entity_example/tests/src/Functional/ConfigEntityExampleTest.php Drupal\Tests\config_entity_example\Functional
config_entity_example.info.yml config_entity_example/config_entity_example.info.yml config_entity_example/config_entity_example.info.yml
config_entity_example.links.action.yml config_entity_example/config_entity_example.links.action.yml config_entity_example/config_entity_example.links.action.yml
config_entity_example.links.menu.yml config_entity_example/config_entity_example.links.menu.yml config_entity_example/config_entity_example.links.menu.yml
config_entity_example.module config_entity_example/config_entity_example.module Demonstrates how to define a new configuration entity type.
config_entity_example.permissions.yml config_entity_example/config_entity_example.permissions.yml config_entity_example/config_entity_example.permissions.yml

Pages

Other projects